]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Fix compilation of the mapEditor.
authorGuus Sliepen <guus@debian.org>
Sun, 9 Aug 2015 12:46:00 +0000 (14:46 +0200)
committerGuus Sliepen <guus@debian.org>
Sun, 9 Aug 2015 12:46:00 +0000 (14:46 +0200)
src/mapEditor.cpp

index 885b87887a1a4d6fc388e4511a466a73af2052ed..edcf430dfc99f6562cac5678a7b2f5d4fadd9a61 100644 (file)
@@ -618,7 +618,7 @@ int main(int argc, char *argv[])
 
                if (engine.keyState[SDL_SCANCODE_SPACE]) {showMap(&mapX, &mapY);}
 
-               if (engine.keyState[SDL_SCANCODE_s]) {saveMap(game.mapName); engine.keyState[SDL_SCANCODE_s] = 0;}
+               if (engine.keyState[SDL_SCANCODE_S]) {saveMap(game.mapName); engine.keyState[SDL_SCANCODE_S] = 0;}
 
                if (mapX < 0) mapX = 0;
                if (mapY < 0) mapY = 0;