1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-18 05:03:02 +00:00

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

View File

@ -1996,7 +1996,7 @@ namespace mapeditor {
#endif #endif
void initdraw(cell *c) { void initdraw(cell *c) {
#if CAP_DRAW #if CAP_EDIT
mapeditor::drawcell = c; mapeditor::drawcell = c;
ew.c = c; ew.c = c;
ew.rotid = 0; ew.rotid = 0;