projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Experimental test production.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index d04760266c45903d7897ac100e5091df67069d18..c6733d5fe285f6cc419122c594e93f9f60bea673 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-221,7
+221,7
@@
static char* get_input(void)
// Print a blank line
printf("\n");
// Print a blank line
printf("\n");
- char* input
= ""
;
+ char* input;
for (;;) {
input = myreadline(input_prompt);
for (;;) {
input = myreadline(input_prompt);
@@
-602,7
+602,7
@@
loc_t put(obj_t object, loc_t where, int pval)
* negated game.prop values for the repository objects. */
{
move(object, where);
* negated game.prop values for the repository objects. */
{
move(object, where);
- return
STASHED(pval);
+ return
(-1) - pval;; // Needs to stay sinchronized with STASHED
}
void carry(obj_t object, loc_t where)
}
void carry(obj_t object, loc_t where)