]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/info.cpp
Added .gitignore to ignore certain files + fixed access rights on Makefile* as
[quix0rs-blobwars.git] / src / info.cpp
index c86f5b629f2fdbe7b9f71c2cc2aaf60cf98de657..f3934e2434af7f69ec47310bc559db1fd5d72846 100644 (file)
@@ -325,8 +325,6 @@ void doPauseInfo()
 
        graphics.setFontColor(0xff, 0xff, 0xff, 0x00, 0x00, 0x00);
 
-       y += 10;
-
        snprintf(string, sizeof string, "%s - %.2d:%.2d:%.2d", _("Mission Time"), game.currentMissionHours, game.currentMissionMinutes, game.currentMissionSeconds);
        graphics.drawString(string, 320, 430, TXT_CENTERED, graphics.screen);
 }
@@ -339,7 +337,7 @@ SDL_Surface *createMusicInfo(void)
        SDL_Surface *text1;
        SDL_Surface *text2 = NULL;
        SDL_Surface *text3 = NULL;
-       SDL_Surface *icon;
+       SDL_Surface *icon = NULL;
        SDL_Surface *panel;
 
        int w = 0;