]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/mission.cpp
Don't link pak tool with SDL.
[quix0rs-blobwars.git] / src / mission.cpp
index 7fca1903efc34ff57a0c5b028a4cd54a84dc37dd..8b362a514dab322d48dde08fe7c6b726c22ed6d7 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -167,8 +167,8 @@ void showMissionClear()
 
        graphics.blit(panel, (640 - panel->w) / 2, (480 - panel->h) / 2, graphics.background, false);
 
-       audio.loadSound(0, "sound/pop1.wav");
-       audio.loadSound(1, "sound/cheer.wav");
+       audio.loadSound(0, "sound/pop1");
+       audio.loadSound(1, "sound/cheer");
 
        SDL_FillRect(graphics.screen, NULL, graphics.black);
        graphics.updateScreen();
@@ -179,7 +179,7 @@ void showMissionClear()
        Objective *objective = (Objective*)map.objectiveList.getHead();
        Entity *mia = (Entity*)map.miaList.getHead();
        Sprite *teleportStar = graphics.getSprite("TeleportStar", true);
-       char message[100];
+       char message[256];
        int col1 = 360;
        int col2 = 380;
        int count = 0;