mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	Merge pull request #15 from Quuxplusone/chop-message
Fix an accidental reversal of tree-chopping messages.
This commit is contained in:
		
							
								
								
									
										4
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -6547,13 +6547,13 @@ bool movepcto(int d, int subdir, bool checkonly) { | |||||||
|       if(checkonly) return true; |       if(checkonly) return true; | ||||||
|       if(c2->wall == waSmallTree) { |       if(c2->wall == waSmallTree) { | ||||||
|         drawParticles(c2, winf[c2->wall].color, 4); |         drawParticles(c2, winf[c2->wall].color, 4); | ||||||
|         addMessage(XLAT("You start chopping down the tree.")); |         addMessage(XLAT("You chop down the tree.")); | ||||||
|         playSound(c2, "hit-axe" + pick123()); |         playSound(c2, "hit-axe" + pick123()); | ||||||
|         c2->wall = waNone; |         c2->wall = waNone; | ||||||
|         } |         } | ||||||
|       else if(c2->wall == waBigTree) { |       else if(c2->wall == waBigTree) { | ||||||
|         drawParticles(c2, winf[c2->wall].color, 8); |         drawParticles(c2, winf[c2->wall].color, 8); | ||||||
|         addMessage(XLAT("You chop down the tree.")); |         addMessage(XLAT("You start chopping down the tree.")); | ||||||
|         playSound(c2, "hit-axe" + pick123()); |         playSound(c2, "hit-axe" + pick123()); | ||||||
|         c2->wall = waSmallTree; |         c2->wall = waSmallTree; | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nobrakal
					nobrakal