More magic-number elimination.

This commit is contained in:
Eric S. Raymond 2017-07-01 23:07:23 -04:00
parent 5c2b76f762
commit 4f08537e2d
3 changed files with 8 additions and 11 deletions

2
main.c
View file

@ -692,7 +692,7 @@ static bool playermove( int motion)
* stuff for bear. */
if (game.prop[TROLL] == TROLL_PAIDONCE) {
pspeak(TROLL, look, TROLL_PAIDONCE);
game.prop[TROLL] = 0;
game.prop[TROLL] = TROLL_UNPAID;
move(TROLL2, 0);
move(TROLL2 + NOBJECTS, 0);
move(TROLL, objects[TROLL].plac);