change the fade_in to animate in the unit creation event

This commit is contained in:
Jérémy Rosen 2006-03-19 10:26:48 +00:00
parent 203de87acd
commit 351e582559
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
x,y={LOC}
moves=0
side=2
fade_in=yes
animate=yes
[/unit]
[redraw][/redraw]
#enddef

View File

@ -1022,7 +1022,7 @@ bool event_handler::handle_event_command(const queued_event& event_info,
if(game_map->on_board(loc)) {
loc = find_vacant_tile(*game_map,*units,loc);
const bool show = screen != NULL && !screen->turbo() &&
!screen->fogged(loc.x,loc.y) && cfg["fade_in"] != "";
!screen->fogged(loc.x,loc.y) && cfg["animate"] != "";
if (show) {
screen->draw(true,true);
}