projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't forget to ask important questions when removing restore of saves
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index b788c618e65428352c0a5f9be4a619ecb194baaa..8c8b47c558033adbc913cc4bf64c78927ec6f471 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-116,6
+116,10
@@
int main(int argc, char *argv[])
} else {
restore(rfp);
}
} else {
restore(rfp);
}
+#else
+ game.novice = yes(arbitrary_messages[WELCOME_YOU], arbitrary_messages[CAVE_NEARBY], arbitrary_messages[NO_MESSAGE]);
+ if (game.novice)
+ game.limit = NOVICELIMIT;
#endif
if (settings.logfp)
#endif
if (settings.logfp)
@@
-1050,6
+1054,7
@@
L2600:
}
if (strcmp(input, "") != 0)
break;
}
if (strcmp(input, "") != 0)
break;
+ free(input);
}
strncpy(inputbuf, input, LINESIZE - 1);
}
strncpy(inputbuf, input, LINESIZE - 1);