Gut and rebuild YES() with cleaner approach that doesn't rely on packing.
[open-adventure.git] / saveresume.c
index 6f570b9aab8a874fe4f0a3aad4b20468ef8ff4da..50091718bc25f125c57d76f3cef3fca06a76e191 100644 (file)
@@ -44,7 +44,7 @@ int suspend(FILE *input)
     FILE *fp = NULL;
 
     RSPEAK(SUSPEND_WARNING);
-    if (!YES(input, THIS_ACCEPTABLE, OK_MAN, OK_MAN)) return GO_CLEAROBJ;
+    if (!YES(THIS_ACCEPTABLE, OK_MAN, OK_MAN)) return GO_CLEAROBJ;
     game.saved = game.saved + 5;
 
     while (fp == NULL) {
@@ -83,7 +83,7 @@ int resume(FILE *input)
 
     if (game.loc != 1 || game.abbrev[1] != 1) {
         RSPEAK(RESUME_ABANDON);
-        if (!YES(input, THIS_ACCEPTABLE, OK_MAN, OK_MAN)) return GO_CLEAROBJ;
+        if (!YES(THIS_ACCEPTABLE, OK_MAN, OK_MAN)) return GO_CLEAROBJ;
     }
 
     while (fp == NULL) {
@@ -123,4 +123,4 @@ int restore(FILE* fp)
     return GO_TOP;
 }
 
-/* end */
\ No newline at end of file
+/* end */