Remove arithmetic on a location number.
This commit is contained in:
parent
b2a686b07d
commit
da1f251524
1 changed files with 1 additions and 2 deletions
|
@ -1073,8 +1073,7 @@ static int read(struct command_t command)
|
||||||
static int reservoir(void)
|
static int reservoir(void)
|
||||||
/* Z'ZZZ (word gets recomputed at startup; different each game). */
|
/* Z'ZZZ (word gets recomputed at startup; different each game). */
|
||||||
{
|
{
|
||||||
/* FIXME: Arithmetic on state numbers */
|
if (!AT(RESER) && game.loc != LOC_RESBOTTOM) {
|
||||||
if (!AT(RESER) && game.loc != game.fixed[RESER] - 1) {
|
|
||||||
rspeak(NOTHING_HAPPENS);
|
rspeak(NOTHING_HAPPENS);
|
||||||
return GO_CLEAROBJ;
|
return GO_CLEAROBJ;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue