1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 01:47:39 +00:00
This commit is contained in:
Zeno Rogue
2019-10-27 02:48:50 +01:00
parent 0320b07496
commit af5d961b1d
3 changed files with 12 additions and 3 deletions

View File

@@ -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