Fixed bug with worldmap messages not being shown (we might want to fade the texts...
authorOndřej Hošek <ondra.hosek@gmail.com>
Wed, 18 May 2005 14:50:58 +0000 (14:50 +0000)
committerOndřej Hošek <ondra.hosek@gmail.com>
Wed, 18 May 2005 14:50:58 +0000 (14:50 +0000)
SVN-Revision: 2513

src/worldmap.cpp

index 3649bab..9f0c0c3 100644 (file)
@@ -977,7 +977,7 @@ WorldMap::draw_status(DrawingContext& context)
         }
     }
   /* Display a passive message in the map, if needed */
-  if(passive_message_timer.check())
+  if(passive_message_timer.started())
     context.draw_text(gold_text, passive_message, 
             Vector(SCREEN_WIDTH/2, SCREEN_HEIGHT - white_text->get_height() - 60),
             CENTER_ALLIGN, LAYER_FOREGROUND1);