mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	shmup:: Bulls now correctly destroy walls they crash into
This commit is contained in:
		| @@ -2433,10 +2433,16 @@ void moveMonster(monster *m, int delta) { | ||||
|       } | ||||
|     else { | ||||
|       if(peace::on) { igo++; goto igo_retry; } | ||||
|       if(m->type == moRagingBull && m->stunoff == CHARGING) | ||||
|       if(m->type == moRagingBull && m->stunoff == CHARGING) { | ||||
|         auto old = m->base->monst; | ||||
|         m->base->monst = m->type; | ||||
|         beastcrash(c2, m->base); | ||||
|         if(m->base->monst != m->type) m->dead = true; | ||||
|         m->base->monst = old; | ||||
|         m->stunoff = curtime + BULLSTUN; | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|  | ||||
|   if(direct) { | ||||
|     if((m->type == moPyroCultist || m->type == moCrystalSage) && curtime >= m->nextshot) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue