projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Abstract out some state arithmetic.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 2790696de2ca7f7e5af4ce43d0c1d32f3a5c6910..71a7dac55da8c4d7cd3fbe480f1a9fd7f98075b3 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1028,7
+1028,7
@@
L2600:
pspeak(OYSTER, look, 1, true);
for (size_t i = 1; i <= NOBJECTS; i++) {
if (TOTING(i) && game.prop[i] < 0)
- game.prop[i] =
-1 - game.prop[i]
;
+ game.prop[i] =
STASHED(i)
;
}
}
game.wzdark = DARK(game.loc);