Address bug #11021
with this change the green point-gain numbers from a drain attack will show only if Show Combat is enabled.
This commit is contained in:
parent
51a1d83cb6
commit
d0a30839ed
1 changed files with 1 additions and 1 deletions
|
@ -1046,7 +1046,7 @@ attack::attack(game_display& gui, const gamemap& map,
|
|||
if(amount_drained > 0) {
|
||||
char buf[50];
|
||||
snprintf(buf,sizeof(buf),"%d",amount_drained);
|
||||
if (update_display_){
|
||||
if (update_display_ && preferences::show_combat()){
|
||||
gui_.float_label(a_->first,buf,0,255,0);
|
||||
}
|
||||
a_->second.heal(amount_drained);
|
||||
|
|
Loading…
Add table
Reference in a new issue