diff --git a/src/world/world.c b/src/world/world.c index f969665..5b0734e 100644 --- a/src/world/world.c +++ b/src/world/world.c @@ -42,6 +42,7 @@ static void options(void); static void stats(void); static void trophies(void); static void quit(void); +int getMissionStatus(void); static Texture *background; static int observationIndex; @@ -53,6 +54,10 @@ void initWorld(void) loadWorld(game.worldId); + world.currentStatus = getMissionStatus(); + + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "world.currentStatus = %d", world.currentStatus); + background = getTexture(world.background); loadMusic(world.music);