mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed counting from -1 in batsAfraid (not sure why it was like that?)
This commit is contained in:
		| @@ -340,7 +340,7 @@ EX bool wantsToStay(eMonster m) { | ||||
|  | ||||
| EX bool batsAfraid(cell *c) { | ||||
|   // bats  | ||||
|   for(int i=-1; i<isize(targets); i++) | ||||
|   for(int i=0; i<isize(targets); i++) | ||||
|     if(c == targets[i] || isNeighbor(c, targets[i])) { | ||||
|       if(!targets[i]->monst && invismove) continue; | ||||
|       bool enear = false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue