mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 21:37:18 +00:00
Merge pull request #195 from jruderman/f3
Fix checkmate check when standing on an Orb of Speed
This commit is contained in:
commit
b8cd045f5d
@ -119,7 +119,7 @@ EX bool monstersnear(cell *c, eMonster who) {
|
|||||||
|
|
||||||
if(who == moPlayer || items[itOrbEmpathy]) {
|
if(who == moPlayer || items[itOrbEmpathy]) {
|
||||||
fast = (items[itOrbSpeed] && (items[itOrbSpeed] & 1));
|
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) {
|
if(havewhat&HF_OUTLAW) {
|
||||||
|
Loading…
Reference in New Issue
Block a user