mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
push cursor did not appear in the hardcore mode or while having targettable orbs
This commit is contained in:
parent
1759b840d4
commit
3bad1aebae
4
game.cpp
4
game.cpp
@ -6465,7 +6465,7 @@ void checkmove() {
|
||||
|
||||
for(int i=0; i<=MAX_EDGE; i++) legalmoves[i] = false;
|
||||
|
||||
canmove = false;
|
||||
canmove = haveRangedTarget();
|
||||
items[itWarning]+=2;
|
||||
if(movepcto(-1, 0, true)) canmove = legalmoves[MAX_EDGE] = true;
|
||||
|
||||
@ -7787,8 +7787,6 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
|
||||
bool errormsgs = multi::players == 1 || multi::cpid == multi::players-1;
|
||||
if(hardcore && !canmove) return false;
|
||||
if(hardcore && checkonly) { return false; }
|
||||
if(checkonly && haveRangedTarget()) return true;
|
||||
if(!checkonly && d >= 0) {
|
||||
flipplayer = false;
|
||||
if(multi::players > 1) multi::flipped[multi::cpid] = false;
|
||||
|
Loading…
Reference in New Issue
Block a user