fix unit-wide halos not being correctly corrected for terrain

This commit is contained in:
Jérémy Rosen 2010-08-25 19:27:00 +00:00
parent 5eb9231fd7
commit 751068d255

View file

@ -1844,7 +1844,7 @@ void unit::redraw_unit()
halo::remove(unit_halo_);
unit_halo_ = halo::NO_HALO;
} else if(unit_halo_ != halo::NO_HALO) {
halo::set_location(unit_halo_, x, y);
halo::set_location(unit_halo_, x, y - height_adjust);
}