mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-15 02:32:07 +00:00
fixed a crash introduced in 10.4h
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user