mapeditor:: no more crashing on 'c'opying outside of map

This commit is contained in:
Zeno Rogue 2019-01-17 00:57:21 +01:00
parent 9c47d67b89
commit 44c3e2eb0a
1 changed files with 1 additions and 1 deletions

View File

@ -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");