mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
11.2g
This commit is contained in:
2
game.cpp
2
game.cpp
@@ -3092,8 +3092,8 @@ EX void computePathdist(eMonster param) {
|
||||
int limit = gamerange();
|
||||
|
||||
for(int qb=0; qb < isize(pathq); qb++) {
|
||||
int fd = reachedfrom[qb] + 3;
|
||||
cell *c = pathq[qb];
|
||||
int fd = reachedfrom[qb] + c->type/2;
|
||||
if(c->monst && !isBug(c) && !(isFriendly(c) && !c->stuntime)) {
|
||||
pathqm.push_back(c);
|
||||
continue; // no paths going through monsters
|
||||
|
Reference in New Issue
Block a user