mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 05:23:00 +00:00 
			
		
		
		
	Fixed minor bugs with boats moving items
This commit is contained in:
		
							
								
								
									
										3
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -6484,10 +6484,11 @@ bool movepcto(int d, int subdir, bool checkonly) { | |||||||
|         } |         } | ||||||
|        |        | ||||||
|       if(checkonly) return true; |       if(checkonly) return true; | ||||||
|  |       if(c2->item && !cwt.c->item) moveItem(c2, cwt.c, false), boatmove = true; | ||||||
|       placeWater(c2, cwt.c); |       placeWater(c2, cwt.c); | ||||||
|       moveBoat(c2, cwt.c); |       moveBoat(c2, cwt.c); | ||||||
|       c2->mondir = neighborId(c2, cwt.c); |       c2->mondir = neighborId(c2, cwt.c); | ||||||
|       if(cwt.c->item) moveItem(cwt.c, c2, true), boatmove = true; |       if(c2->item) boatmove = !boatmove; | ||||||
|       goto boatjump; |       goto boatjump; | ||||||
|       } |       } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue