fixed a crash in draw editor

This commit is contained in:
Zeno Rogue 2019-06-13 18:11:01 +02:00
parent 3da305b4ca
commit f35e383214
1 changed files with 1 additions and 1 deletions

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;