fixed a crash introduced in 10.4h

This commit is contained in:
Zeno Rogue 2018-06-29 12:29:23 +02:00
parent f1f1098d95
commit 53e9cb3ca5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}