mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	Thumpers are now still considered when one cell outside the game range
This commit is contained in:
		| @@ -147,7 +147,7 @@ EX void computePathdist(eMonster param) { | ||||
|       pathqm.push_back(c);  | ||||
|       continue;  | ||||
|       } | ||||
|     if(c->cpdist > limit && !(c->land == laTrollheim && turncount < c->landparam)) continue; | ||||
|     if(c->cpdist > limit && !(c->land == laTrollheim && turncount < c->landparam) && c->wall != waThumperOn) continue; | ||||
|     int d = c->pathdist; | ||||
|     if(d == PINFD - 1) continue; | ||||
|     for(int j=0; j<c->type; j++) { | ||||
| @@ -435,6 +435,12 @@ EX void bfs() { | ||||
|       } | ||||
|     } | ||||
|  | ||||
|   for(int i=first7; i<isize(dcal); i++) | ||||
|     forCellEx(c2, dcal[i]) | ||||
|       if(c2->wall == waThumperOn) { | ||||
|         targets.push_back(c2); | ||||
|         } | ||||
|  | ||||
|   while(recalcTide) { | ||||
|     recalcTide = false; | ||||
|     for(int i=0; i<isize(dcal); i++) checkTide(dcal[i]); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue