Add explanatory comments.
This commit is contained in:
parent
a6b41fdb8f
commit
5d3205e1e9
4 changed files with 35 additions and 7 deletions
4
misc.c
4
misc.c
|
@ -600,8 +600,10 @@ void put(obj_t object, loc_t where, int pval)
|
|||
* negated game.prop values for the repository objects. */
|
||||
{
|
||||
move(object, where);
|
||||
/* (ESR) Read this in combination with the macro defintions in advebt.h.
|
||||
*/
|
||||
#ifndef FOUNDBOOL
|
||||
game.objects[object].prop = (-1) - pval;; // Needs to stay synchronized with PROP_STASHED
|
||||
game.objects[object].prop = (-1) - pval; // Needs to stay synchronized with PROP_STASHED
|
||||
#else
|
||||
game.objects[object].prop = - pval;; // Needs to stay synchronized with PROP_STASHED
|
||||
game.objects[object].found = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue