Mercurial > molko
diff examples/example-animation/main.c @ 300:3638b39ef2bf
examples: fix with new game_push function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 11 Apr 2021 17:43:57 +0200 |
parents | 196264679079 |
children | d01e83210ca2 |
line wrap: on
line diff
--- a/examples/example-animation/main.c Sun Apr 11 16:41:34 2021 +0200 +++ b/examples/example-animation/main.c Sun Apr 11 17:43:57 2021 +0200 @@ -120,7 +120,7 @@ sprite_init(&sprite, &numbers, 48, 48); animation_init(&animation, &sprite, 1000); - game_switch(&state, 1); + game_push(&state); game_loop(); }