projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace fDATIME with ANSI/POSIX clock_gettime(). Rip out DOS/AMIGA shims.
[open-adventure.git]
/
init.c
diff --git
a/init.c
b/init.c
index 50a21b1d935a7ac6bdc2580f9eec80c127e0ac1e..f8d8726e6bd7f55cdb30142cfbd39c331cd481f2 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-641,14
+641,10
@@
static void quick_item(long*);
static void quick_array(long*, long);
static bool quick_init(void) {
static void quick_array(long*, long);
static bool quick_init(void) {
-#ifdef AMIGA
- f = fopen("ram:adventure.data", READ_MODE);
-#else
extern char *getenv();
char *adv = getenv("ADVENTURE");
f = NULL;
if(adv)f = fopen(adv,READ_MODE);
extern char *getenv();
char *adv = getenv("ADVENTURE");
f = NULL;
if(adv)f = fopen(adv,READ_MODE);
-#endif
if(f == NULL)f = fopen("adventure.data",READ_MODE);
if(f == NULL)return(FALSE);
init_reading = TRUE;
if(f == NULL)f = fopen("adventure.data",READ_MODE);
if(f == NULL)return(FALSE);
init_reading = TRUE;