Comment polishing.
This commit is contained in:
parent
96950869c6
commit
de3be760b6
1 changed files with 7 additions and 7 deletions
14
main.c
14
main.c
|
@ -9,9 +9,8 @@
|
||||||
* to idiomatic C, the following is more appropriate:
|
* to idiomatic C, the following is more appropriate:
|
||||||
*
|
*
|
||||||
* ESR apologizes for the remaing gotos (now confined to one function
|
* ESR apologizes for the remaing gotos (now confined to one function
|
||||||
* in this file - there used to be over 350 of them, *everywhere*),
|
* in this file - there used to be over 350 of them, *everywhere*).
|
||||||
* and for the offensive globals. Applying the Structured Program
|
* Applying the Structured Program Theorem can be hard.
|
||||||
* Theorem can be hard.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -729,10 +728,11 @@ static void playermove( int motion)
|
||||||
* wander across and encounter the bear. (They
|
* wander across and encounter the bear. (They
|
||||||
* won't follow the player there because that
|
* won't follow the player there because that
|
||||||
* region is forbidden to the pirate.) If
|
* region is forbidden to the pirate.) If
|
||||||
* game.prop(TROLL)=1, he's crossed since paying,
|
* game.prop[TROLL]=TROLL_PAIDONCE, he's crossed
|
||||||
* so step out and block him. (standard travel
|
* since paying, so step out and block him.
|
||||||
* entries check for game.prop(TROLL)=0.) Special
|
* (standard travel entries check for
|
||||||
* stuff for bear. */
|
* game.prop[TROLL]=TROLL_UNPAID.) Special stuff
|
||||||
|
* for bear. */
|
||||||
if (game.prop[TROLL] == TROLL_PAIDONCE) {
|
if (game.prop[TROLL] == TROLL_PAIDONCE) {
|
||||||
pspeak(TROLL, look, TROLL_PAIDONCE, true);
|
pspeak(TROLL, look, TROLL_PAIDONCE, true);
|
||||||
game.prop[TROLL] = TROLL_UNPAID;
|
game.prop[TROLL] = TROLL_UNPAID;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue