1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

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

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