fixed the Princess AI to use pathdist not cpdist

This commit is contained in:
Zeno Rogue 2020-12-25 00:05:33 +01:00
parent 48e8d15042
commit 002c1ae7e9
1 changed files with 1 additions and 1 deletions

View File

@ -1607,7 +1607,7 @@ EX int movevalue(eMonster m, cell *c, int dir, flagtype flags) {
}
if(isPrincess(c->monst)) {
int d = c2->cpdist;
int d = c2->pathdist;
if(d <= 3) val -= d;
else val -= 10 * d;