mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 13:14:30 +00:00
drawing tool: do not crash when drawcell is not set
This commit is contained in:
1 parent
600f02668d
commit
5ab802a561
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user