mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-25 15:30:13 +00:00
fixed checkmove giving wrong answer when bow::fire_mode is active
This commit is contained in:
parent
eb3406d7dc
commit
a6b30fa564
@ -304,6 +304,7 @@ EX void checkmove() {
|
|||||||
|
|
||||||
if(true) {
|
if(true) {
|
||||||
for(int i=0; i<cwt.at->type; i++) {
|
for(int i=0; i<cwt.at->type; i++) {
|
||||||
|
dynamicval<bool> fm(bow::fire_mode, false);
|
||||||
if(movepcto(1, -1, true)) {
|
if(movepcto(1, -1, true)) {
|
||||||
canmove = legalmoves[cwt.spin] = true;
|
canmove = legalmoves[cwt.spin] = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user