From 5e27a2cc88c94a26ac7e04b5df93cb1f7b28c180 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 23 Jun 2022 13:02:37 +0200 Subject: [PATCH] shift+A now exits the map editor --- mapeditor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mapeditor.cpp b/mapeditor.cpp index 44a693e6..bd909215 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -1739,6 +1739,7 @@ EX namespace mapeditor { if(mouseover) for(int i=0; itype; i++) createMov(mouseover, i); if(uni == 'u') applyUndo(); else if(uni == 'v' || sym == SDLK_F10 || sym == SDLK_ESCAPE) popScreen(); + else if(uni == 'A') popScreen(); else if(uni >= '0' && uni <= '9') radius = uni - '0'; else if(uni == 'm') pushScreen(showList), painttype = 0, dialog::infix = ""; else if(uni == 'i') pushScreen(showList), painttype = 1, dialog::infix = ""; @@ -2729,6 +2730,7 @@ EX namespace mapeditor { } if(sym == SDLK_F10) popScreen(); + else if(uni == 'A') popScreen(); (void)clickused;