From 1fb1f614dee170752e3c6a04ed2bcc7b3b869b23 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 30 May 2021 11:56:26 +0200 Subject: [PATCH] Raging Bulls generated from Herd Bulls crashing into walls offscreen no longer permanently block the way when offscreen --- complex.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/complex.cpp b/complex.cpp index 1fd4448d..eaa8365b 100644 --- a/complex.cpp +++ b/complex.cpp @@ -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);