Fix the disappearing icons in the campaign dialog.

Seems the changes in 2009-12-20T20:46:27Z!koraq@xs4all.nl are not needed and break things so revert
that and revert 2009-12-21T12:02:24Z!alinkmaze@gmail.com which is no longer needed. Fixes bug #14983.
This commit is contained in:
Mark de Wever 2009-12-25 09:47:34 +00:00
parent bcbb28a809
commit 16529a0473
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ void twidget::populate_dirty_list(twindow& caller,
{
assert(call_stack.empty() || call_stack.back() != this);
if(visible_ == twidget::INVISIBLE) {
if(visible_ != VISIBLE) {
return;
}

View File

@ -659,7 +659,7 @@ void twindow::draw()
std::vector<twidget*> call_stack;
populate_dirty_list(*this, call_stack);
//assert(dirty_list_.empty());
assert(dirty_list_.empty());
SDL_Rect rect = get_rect();
update_rect(rect);