1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

Fix checkmate check when standing on an Orb of Speed

This commit is contained in:
Jesse Ruderman 2021-07-09 20:33:38 -07:00
parent 4799f7c5f7
commit c5f867da91

View File

@ -119,7 +119,7 @@ EX bool monstersnear(cell *c, eMonster who) {
if(who == moPlayer || items[itOrbEmpathy]) {
fast = (items[itOrbSpeed] && (items[itOrbSpeed] & 1));
if(who == moPlayer && c->item == itOrbSpeed && !items[itOrbSpeed]) fast = true;
if(who == moPlayer && !isPlayerOn(c) && c->item == itOrbSpeed && !items[itOrbSpeed]) fast = true;
}
if(havewhat&HF_OUTLAW) {