mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 06:27:17 +00:00
Raging Bulls generated from Herd Bulls crashing into walls offscreen no longer permanently block the way when offscreen
This commit is contained in:
parent
c9a3dde67b
commit
1fb1f614de
@ -3272,6 +3272,11 @@ EX namespace prairie {
|
||||
if(!shmup::on) for(int q=qty-2; q>=0; q--) {
|
||||
cell *cp = whirlline[q];
|
||||
cell *cn = whirlline[q+1];
|
||||
/* just pretend the roadblocks disappear */
|
||||
if(cn->monst == moRagingBull && cn->cpdist == INFD && cn->stuntime) {
|
||||
cn->stuntime--;
|
||||
if(cn->stuntime == 0) cn->monst = moNone;
|
||||
}
|
||||
if(cp->monst == moHerdBull && !cp->stuntime) {
|
||||
cp->mondir = neighborId(cp, cn);
|
||||
beastAttack(cp, true, true);
|
||||
|
Loading…
Reference in New Issue
Block a user