mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed a crash introduced in 10.4h
This commit is contained in:
parent
f1f1098d95
commit
53e9cb3ca5
2
game.cpp
2
game.cpp
@ -4615,7 +4615,7 @@ void groupmove(eMonster movtype, flagtype mf) {
|
|||||||
if((mf & MF_ONLYEAGLE) && c->monst != moEagle && c->monst != moBat) return;
|
if((mf & MF_ONLYEAGLE) && c->monst != moEagle && c->monst != moBat) return;
|
||||||
if(movegroup(c->monst) == movtype && c->pathdist != 0) {
|
if(movegroup(c->monst) == movtype && c->pathdist != 0) {
|
||||||
cell *c2 = moveNormal(c, mf);
|
cell *c2 = moveNormal(c, mf);
|
||||||
onpath(c2, 0);
|
if(c2) onpath(c2, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user