Finish moving state arrays into game structure block.

This commit is contained in:
Eric S. Raymond 2017-06-07 07:10:07 -04:00
parent 3ba084480a
commit 2d95c3f4f5
9 changed files with 200 additions and 202 deletions

4
misc.c
View file

@ -115,7 +115,7 @@ void PSPEAK(vocab_t MSG,int SKIP) {
long I, M;
/* Find the skip+1st message from msg and print it. MSG should be the index of
* the inventory message for object. (INVEN+N+1 message is PROP=N message). */
* the inventory message for object. (INVEN+N+1 message is game.prop=N message). */
M=PTEXT[MSG];
@ -537,7 +537,7 @@ long PUT(long OBJECT, long WHERE, long PVAL) {
long X;
/* PUT is the same as MOVE, except it returns a value used to set up the
* negated PROP values for the repository objects. */
* negated game.prop values for the repository objects. */
MOVE(OBJECT,WHERE);
X=(-1)-PVAL;