Comment polishing.

This commit is contained in:
Eric S. Raymond 2023-04-15 10:00:23 -04:00
parent ef78c36ddb
commit 869c53d1b1
2 changed files with 8 additions and 6 deletions

View file

@ -64,10 +64,11 @@
*
* PROP_STASHED is supposed to map a state property value to a
* negative range, where the object cannot be picked up but the value
* can be recovered later. Various objects get this peoperty when
* can be recovered later. Various objects get this property when
* the cave starts to close. On;y seems to be signifucant for the bird
* and readable objects, notably the clam/oyster - but the code around
* those test is difficult to read. */
* those test is difficult to read.
*/
#define PROP_STASHIFY(n) (-1 - (n))
#define PROP_IS_STASHED(obj) (game.objects[obj].prop < STATE_NOTFOUND)
#define PROP_IS_NOTFOUND(obj) (game.objects[obj].prop == STATE_NOTFOUND)