Relax the savefile validity check a little.
[open-adventure.git] / misc.c
diff --git a/misc.c b/misc.c
index 0bcfb26387b7edb2487d636c2991ca40c6fabc93..c6733d5fe285f6cc419122c594e93f9f60bea673 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -221,7 +221,7 @@ static char* get_input(void)
     // Print a blank line
     printf("\n");
 
-    char* input = "";
+    char* input;
     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);
-    return (-1) - pval;;
+    return (-1) - pval;;       // Needs to stay sinchronized with STASHED
 }
 
 void carry(obj_t object, loc_t where)