fixed bug where damage labels would float above battles...
...taking place in fog of war
This commit is contained in:
parent
9b42139479
commit
892294873a
1 changed files with 1 additions and 1 deletions
|
@ -1901,7 +1901,7 @@ void display::move_unit(const std::vector<gamemap::location>& path, unit& u)
|
|||
void display::float_label(const gamemap::location& loc, const std::string& text,
|
||||
int red, int green, int blue)
|
||||
{
|
||||
if(preferences::show_floating_labels() == false) {
|
||||
if(preferences::show_floating_labels() == false || fogged(loc.x,loc.y)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue