mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
mapeditor:: no more crashing on 'c'opying outside of map
This commit is contained in:
parent
9c47d67b89
commit
44c3e2eb0a
@ -947,7 +947,7 @@ namespace mapeditor {
|
|||||||
else if(sym == SDLK_F8) {
|
else if(sym == SDLK_F8) {
|
||||||
pushScreen(map_settings);
|
pushScreen(map_settings);
|
||||||
}
|
}
|
||||||
else if(uni == 'c') {
|
else if(uni == 'c' && mouseover) {
|
||||||
copysource = mouseover_cw(true);
|
copysource = mouseover_cw(true);
|
||||||
painttype = 4;
|
painttype = 4;
|
||||||
paintwhat_str = XLAT("copying");
|
paintwhat_str = XLAT("copying");
|
||||||
|
Loading…
Reference in New Issue
Block a user