X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=57197e9c45c7f4ccb92b60b09f5c1a2e060f9916;hb=77d2a1e5dd5d5ff3353a54ad0741427f7f2b8c28;hp=653b744b0040b8b8a330dc15ac197463f8eb53e5;hpb=71fcc814f83c25847ebd703c265983cb6578d9b3;p=open-adventure.git diff --git a/main.c b/main.c index 653b744..57197e9 100644 --- a/main.c +++ b/main.c @@ -156,6 +156,8 @@ static bool fallback_handler(signed char *buf) if (sscanf(buf, "seed %ld", &sv) == 1) { set_seed(sv); printf("Seed set to %ld\n", sv); + // autogenerated, so don't charge user time for it. + --TURNS; // here we reconfigure any global game state that uses random numbers ZZWORD=RNDVOC(3,0); return true; @@ -401,8 +403,7 @@ L2600: if(COND[LOC] < CONDS) goto L2603; L2602: /*etc*/ ; } /* end loop */ -/* Kick the random number generator just to add variety to the chase. Also, - * if closing time, check for any objects being toted with PROP < 0 and set +/* If closing time, check for any objects being toted with PROP < 0 and set * the prop to -1-PROP. This way objects won't be described until they've * been picked up and put down separate from their respective piles. Don't * tick CLOCK1 unless well into cave (and not at Y2). */