From: Guus Sliepen Date: Sun, 9 Aug 2015 12:46:00 +0000 (+0200) Subject: Fix compilation of the mapEditor. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf022da31084a97ef3ab4698c1598ec1faa3a054;p=quix0rs-blobwars.git Fix compilation of the mapEditor. --- diff --git a/src/mapEditor.cpp b/src/mapEditor.cpp index 885b878..edcf430 100644 --- a/src/mapEditor.cpp +++ b/src/mapEditor.cpp @@ -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;