1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

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

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