diff --git a/game.cpp b/game.cpp index 731a0911..a4ce4d25 100644 --- a/game.cpp +++ b/game.cpp @@ -4615,7 +4615,7 @@ void groupmove(eMonster movtype, flagtype mf) { if((mf & MF_ONLYEAGLE) && c->monst != moEagle && c->monst != moBat) return; if(movegroup(c->monst) == movtype && c->pathdist != 0) { cell *c2 = moveNormal(c, mf); - onpath(c2, 0); + if(c2) onpath(c2, 0); } } }