X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions1.c;h=0cf8e97d56fcae90e2d9e6189e6c640ddc435be7;hb=270ecf8f02f4fc7f7186cbb9663007b562978e99;hp=0a1155d800c355058c63506e76519b8c2b7f0891;hpb=cf219e920bb038c9ac2c879adcfd048dc13bf3bc;p=open-adventure.git diff --git a/actions1.c b/actions1.c index 0a1155d..0cf8e97 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); @@ -625,14 +624,4 @@ L8340: if(!AT(RESER) && LOC != FIXED[RESER]-1) return(2011); RSPEAK(241); return(2); -/* Seed. Expected in game logs to replicate the LCG state */ - -L8350: { - long sv; - int n; - n = sscanf(raw_input, "seed %ld\n", &sv); - if (n >= 1) - set_seed(sv); - return(2); - } }