X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=ea620fce3fa26c232a65cc956daad25862d29511;hb=refs%2Ftags%2Fseed;hp=653b744b0040b8b8a330dc15ac197463f8eb53e5;hpb=71fcc814f83c25847ebd703c265983cb6578d9b3;p=open-adventure.git diff --git a/main.c b/main.c index 653b744..ea620fc 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;