From: Bill Kendrick Date: Tue, 30 Dec 2003 08:02:04 +0000 (+0000) Subject: Tux doesn't lose mints or coffee upgrade when finishing a level. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=49ede3314d425e3085a37150b015fa0c7895dc4f;p=supertux.git Tux doesn't lose mints or coffee upgrade when finishing a level. SVN-Revision: 84 --- diff --git a/src/gameloop.c b/src/gameloop.c index a8a704b30..413d9eab2 100644 --- a/src/gameloop.c +++ b/src/gameloop.c @@ -2268,6 +2268,10 @@ int gameloop(void) menumenu = MENU_GAME; initgame(); loadshared(); + + tux_size = SMALL; + tux_got_coffee = NO; + loadlevel(); loadlevelgfx(); loadlevelsong(); @@ -2525,8 +2529,6 @@ void loadlevel(void) tux_y = 240; tux_ym = 0; tux_dir = RIGHT; - tux_size = SMALL; - tux_got_coffee = NO; tux_invincible_time = 0; tux_duck = NO; diff --git a/src/supertux.c b/src/supertux.c index 924ccb348..bcfd35d16 100644 --- a/src/supertux.c +++ b/src/supertux.c @@ -7,7 +7,7 @@ bill@newbreedsoftware.com http://www.newbreedsoftware.com/supertux/ - April 11, 2000 - April 12, 2000 + April 11, 2000 - December 29, 2003 */