X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions1.c;h=c82a7bc999571009957b6b244c3be19512950e03;hb=f5302b3b465d4920a8c735c67910160ff18cdd6c;hp=b8fac67a3a162a94bbb2c6df66c339f8fedf2d8c;hpb=65c081a0acc24707915a2abf80ef64ed70e50f45;p=open-adventure.git diff --git a/actions1.c b/actions1.c index b8fac67..c82a7bc 100644 --- a/actions1.c +++ b/actions1.c @@ -4,6 +4,7 @@ #include "main.h" #include "share.h" #include "funcs.h" +#include "database.h" /* This stuff was broken off as part of an effort to get the main program * to compile without running out of memory. We're called with a number @@ -65,7 +66,6 @@ L4000: VERB=K; case 31: goto L8320; /* FLY */ case 32: goto L8330; /* LISTEN */ case 33: goto L8340; /* ZZZZ */ - case 34: goto L8350; /* SEED */ } BUG(23); @@ -106,7 +106,6 @@ L4090: switch (VERB-1) { case 31: goto L9320; /* FLY */ case 32: return(2011); /* LISTEN */ case 33: goto L8340; /* ZZZZ */ - case 34: goto L8350; /* SEED */ } BUG(24); @@ -524,7 +523,7 @@ L8300: SPK=201; /* This next part is shared with the "resume" code. The two cases are * distinguished by the value of kk (-1 for suspend, +1 for resume). */ -L8305: DATIME(I,K); +L8305: DATIME(&I,&K); K=I+650*K; SAVWRD(KK,K); K=VRSION; @@ -625,6 +624,4 @@ L8340: if(!AT(RESER) && LOC != FIXED[RESER]-1) return(2011); RSPEAK(241); return(2); -L8350: printf("I see a SEED command. %s\n", raw_input); - return(2); }