ref: a409cfe16978d8e98a3754c6053cd00b09d32b26
parent: 20bd61bf4931396cc74265046a0f1bb4a3c57fd4
author: Ben Harris <[email protected]>
date: Sat Aug 12 10:45:50 EDT 2023
Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Unruly
--- a/unruly.c
+++ b/unruly.c
@@ -1628,7 +1628,7 @@
nullret = MOVE_UI_UPDATE;
}
} else
- return NULL;
+ return MOVE_UNUSED;
}
/* Keyboard move */
@@ -1672,7 +1672,7 @@
return dupstr(buf);
}
- return NULL;
+ return MOVE_UNUSED;
}
static game_state *execute_move(const game_state *state, const char *move)