X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=actions1.c;h=5ef0953c79830b97bdf2565fe785a2b39243d59f;hb=77d2a1e5dd5d5ff3353a54ad0741427f7f2b8c28;hp=0cf8e97d56fcae90e2d9e6189e6c640ddc435be7;hpb=5ae76995d2e8d412f565481505e4c7bc37260bb1;p=open-adventure.git diff --git a/actions1.c b/actions1.c index 0cf8e97..5ef0953 100644 --- a/actions1.c +++ b/actions1.c @@ -523,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; @@ -556,7 +556,7 @@ L8305: DATIME(I,K); SAVWRD(KK,K); if(K != 0) goto L8318; K=NUL; - ZZWORD=RNDVOC(3,ZZWORD-MESH*2)+MESH*2; + ZZWORD=RNDVOC(3,ZZWORD); if(KK > 0) return(8); RSPEAK(266); exit(0); @@ -603,7 +603,7 @@ L8330: SPK=228; RSPEAK(IABS(K)); if(K < 0) return(2012); SPK=0; -L8332: SETPRM(1,ZZWORD-MESH*2,0); +L8332: SETPRM(1,ZZWORD,0); /* 8335 */ for (I=1; I<=100; I++) { if(!HERE(I) || OBJSND[I] == 0 || PROP[I] < 0) goto L8335; PSPEAK(I,OBJSND[I]+PROP[I]);