mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +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:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue