mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-08 17:34:08 +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--) {
|
if(!shmup::on) for(int q=qty-2; q>=0; q--) {
|
||||||
cell *cp = whirlline[q];
|
cell *cp = whirlline[q];
|
||||||
cell *cn = whirlline[q+1];
|
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) {
|
if(cp->monst == moHerdBull && !cp->stuntime) {
|
||||||
cp->mondir = neighborId(cp, cn);
|
cp->mondir = neighborId(cp, cn);
|
||||||
beastAttack(cp, true, true);
|
beastAttack(cp, true, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user