mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 17:25:32 +00:00
change the fade_in to animate in the unit creation event
This commit is contained in:
parent
203de87acd
commit
351e582559
@ -10,7 +10,7 @@
|
||||
x,y={LOC}
|
||||
moves=0
|
||||
side=2
|
||||
fade_in=yes
|
||||
animate=yes
|
||||
[/unit]
|
||||
[redraw][/redraw]
|
||||
#enddef
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user