Magic-number limination. Improve test coverage.

This commit is contained in:
Eric S. Raymond 2017-06-18 09:44:34 -04:00
parent d363a5c564
commit 937714f31d
7 changed files with 3077 additions and 5 deletions

2
main.c
View file

@ -915,7 +915,7 @@ static bool do_command(FILE *cmdin)
if (OUTSID(game.newloc) && game.newloc != 0 && game.closng) {
RSPEAK(EXIT_CLOSED);
game.newloc = game.loc;
if (!game.panic)game.clock2 = 15;
if (!game.panic)game.clock2 = PANICTIME;
game.panic = true;
}