mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-06 18:57:02 +00:00
drawing tool: do not crash when drawcell is not set
This commit is contained in:
parent
600f02668d
commit
5ab802a561
@ -3205,7 +3205,7 @@ EX namespace mapeditor {
|
||||
}
|
||||
}
|
||||
|
||||
if(cmode & sm::DRAW) {
|
||||
if(cmode & sm::DRAW && !drawing_tool) {
|
||||
|
||||
if(c == drawcell && EDITING_TRIANGLES && mapeditor::editingShape(group, id)) {
|
||||
if(!us) return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user