lock updates during prestart event to try to stop it displaying things

This commit is contained in:
Dave White 2005-09-18 20:40:59 +00:00
parent b17bcd6257
commit c47660de94

View File

@ -478,6 +478,7 @@ LEVEL_RESULT play_level(const game_data& gameinfo, const config& game_config,
//pre-start events must be executed before any GUI operation,
//as those may cause the display to be refreshed.
if(!loading_game) {
update_locker lock_display(gui.video());
game_events::fire("prestart");
}