From 44c3e2eb0a9a5ee18e4ff4b4f7d524bbe2e35d4a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 17 Jan 2019 00:57:21 +0100 Subject: [PATCH] mapeditor:: no more crashing on 'c'opying outside of map --- mapeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapeditor.cpp b/mapeditor.cpp index d45e4d04..b4e62204 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -947,7 +947,7 @@ namespace mapeditor { else if(sym == SDLK_F8) { pushScreen(map_settings); } - else if(uni == 'c') { + else if(uni == 'c' && mouseover) { copysource = mouseover_cw(true); painttype = 4; paintwhat_str = XLAT("copying");