fixed a crash in draw editor

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:06 +02:00
1 parent 3da305b4ca
commit f35e383214
1 file changed
+1 -1
+1 -1
View File
@@ -1996,7 +1996,7 @@ namespace mapeditor {
#endif
void initdraw(cell *c) {
#if CAP_DRAW
#if CAP_EDIT
mapeditor::drawcell = c;
ew.c = c;
ew.rotid = 0;