From 3bad1aebae77fe539bb79aa8999a117c3d35cff3 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 13 May 2019 14:22:12 +0200 Subject: [PATCH] push cursor did not appear in the hardcore mode or while having targettable orbs --- game.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/game.cpp b/game.cpp index 5523543a..bd900fcf 100644 --- a/game.cpp +++ b/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;