Correct buggy behavior of sign in endgame. Add a test for this.
This commit is contained in:
parent
2c9c9076b1
commit
0c2803638f
5 changed files with 31 additions and 21 deletions
2
main.c
2
main.c
|
@ -812,7 +812,7 @@ static bool closecheck(void)
|
|||
* Reuse sign. */
|
||||
PUT(GRATE, LOC_SW, 0);
|
||||
PUT(SIGN, LOC_SW, 0);
|
||||
++OBJTXT[SIGN];
|
||||
game.prop[SIGN] = ENDGAME_SIGN;
|
||||
game.prop[SNAKE] = PUT(SNAKE, LOC_SW, 1);
|
||||
game.prop[BIRD] = PUT(BIRD, LOC_SW, 1);
|
||||
game.prop[CAGE] = PUT(CAGE, LOC_SW, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue