mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	Item/boat burning message no longer appears when this happens out of sight
This commit is contained in:
		
							
								
								
									
										7
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -1598,7 +1598,9 @@ bool makeflame(cell *c, int timeout, bool checkonly) { | ||||
|   if(!checkonly) destroyTrapsOn(c); | ||||
|   if(itemBurns(c->item)) { | ||||
|     if(checkonly) return true; | ||||
|     addMessage(XLAT("%The1 burns!", c->item)), c->item = itNone; | ||||
|     if(c->cpdist <= 7) | ||||
|       addMessage(XLAT("%The1 burns!", c->item)); | ||||
|     c->item = itNone; | ||||
|     } | ||||
|   if(cellUnstable(c)) { | ||||
|     if(checkonly) return true; | ||||
| @@ -1609,7 +1611,8 @@ bool makeflame(cell *c, int timeout, bool checkonly) { | ||||
|     return false; | ||||
|   else if(c->wall == waBoat) { | ||||
|     if(checkonly) return true; | ||||
|     addMessage(XLAT("%The1 burns!", winf[c->wall].name)); | ||||
|     if(c->cpdist <= 7) | ||||
|       addMessage(XLAT("%The1 burns!", winf[c->wall].name)); | ||||
|     drawFireParticles(c, 24); | ||||
|     placeWater(c, c); | ||||
|     if(isIcyLand(c)) HEAT(c) += 1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue