From cf022da31084a97ef3ab4698c1598ec1faa3a054 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 9 Aug 2015 14:46:00 +0200 Subject: [PATCH] Fix compilation of the mapEditor. --- src/mapEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5