diff --git a/game.cpp b/game.cpp index 078b4651..62f0a0a4 100644 --- a/game.cpp +++ b/game.cpp @@ -8051,6 +8051,7 @@ bool mightBeMine(cell *c) { hookset *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;