1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed a crash bug with the 'mark' command when no cell active

This commit is contained in:
Zeno Rogue 2018-07-23 23:35:01 +02:00
parent c70db33417
commit e557dd1303

View File

@ -8051,6 +8051,7 @@ bool mightBeMine(cell *c) {
hookset<bool(cell*)> *hooks_mark;
void performMarkCommand(cell *c) {
if(!c) return;
if(callhandlers(false, hooks_mark, c)) return;
if(c->land == laCA && c->wall == waNone)
c->wall = waFloorA;