mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 01:07:57 +00:00
push cursor did not appear in the hardcore mode or while having targettable orbs
This commit is contained in:
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;
|
||||
|
Reference in New Issue
Block a user