Patch for bug #18475 and #17292

Mage of Light and Sorceress Halo/animation glitchy.
This commit is contained in:
Thonsew 2011-08-10 16:47:57 +00:00
parent 0f13d37632
commit 3d5f6c1dae
3 changed files with 0 additions and 4 deletions

View file

@ -314,7 +314,6 @@ void game_display::draw_invalidated()
u_it->redraw_unit();
}
halo::unrender(invalidated_);
}
void game_display::post_commit()

View file

@ -124,12 +124,10 @@ void effect::set_location(int x, int y)
int new_x = x - disp->get_location_x(zero_loc);
int new_y = y - disp->get_location_y(zero_loc);
if (new_x != x_ || new_y != y_) {
unrender();
x_ = new_x;
y_ = new_y;
buffer_.assign(NULL);
overlayed_hexes_.clear();
render();
}
}

View file

@ -25,7 +25,6 @@ class display;
namespace halo
{
struct manager
{
manager(display& disp);