mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed the Princess AI to use pathdist not cpdist
This commit is contained in:
		| @@ -1607,7 +1607,7 @@ EX int movevalue(eMonster m, cell *c, int dir, flagtype flags) { | |||||||
|     } |     } | ||||||
|   if(isPrincess(c->monst)) { |   if(isPrincess(c->monst)) { | ||||||
|      |      | ||||||
|     int d = c2->cpdist; |     int d = c2->pathdist; | ||||||
|     if(d <= 3) val -= d; |     if(d <= 3) val -= d; | ||||||
|     else val -= 10 * d; |     else val -= 10 * d; | ||||||
|      |      | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue