From 990b544e7f6e9b97fafdb211508d6debdfa8ebfd Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 27 May 2021 12:58:50 +0200 Subject: [PATCH] fixed a YASC code bug --- checkmove.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkmove.cpp b/checkmove.cpp index 57e42b6a..b38d45fb 100644 --- a/checkmove.cpp +++ b/checkmove.cpp @@ -309,7 +309,7 @@ EX void checkmove() { check_if_monster(); move_issues[cwt.spin] = checked_move_issue; if(!legalmoves[cwt.spin]) { - if(movepcto(1, 1, true)) { + if(movepcto(0, 1, true)) { canmove = legalmoves[cwt.spin] = true; } check_if_monster();