diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-15 10:22:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-15 10:22:06 +0000 |
commit | 7eb3a750e52328cf5b852653b3889326f5a8f3be (patch) | |
tree | 4f0cb8331a516c192ff32d46dd3c28a6832928c0 /games/larn/diag.c | |
parent | 64b2332c104aa262f56453981465365b715cde83 (diff) |
gtime var -> gltime var
Diffstat (limited to 'games/larn/diag.c')
-rw-r--r-- | games/larn/diag.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/larn/diag.c b/games/larn/diag.c index e9ca5953220..51dee60cbd3 100644 --- a/games/larn/diag.c +++ b/games/larn/diag.c @@ -171,7 +171,7 @@ savegame(fname) times(&cputime); /* get cpu time */ c[CPUTIME] += (cputime.tms_utime+cputime.tms_stime)/60; lwrite((char*)&c[0],100*sizeof(long)); - lprint((long)gtime); lprc(level); + lprint((long)gltime); lprc(level); lprc(playerx); lprc(playery); lwrite((char*)iven,26); lwrite((char*)ivenarg,26*sizeof(short)); for (k=0; k<MAXSCROLL; k++) lprc(scrollname[k][0]); @@ -213,7 +213,7 @@ restoregame(fname) if (beenhere[k]) lrfill((char*)&cell[k*MAXX*MAXY],sizeof(struct cel)*MAXY*MAXX); - lrfill((char*)&c[0],100*sizeof(long)); gtime = lrint(); + lrfill((char*)&c[0],100*sizeof(long)); gltime = lrint(); level = c[CAVELEVEL] = lgetc(); playerx = lgetc(); playery = lgetc(); lrfill((char*)iven,26); lrfill((char*)ivenarg,26*sizeof(short)); @@ -271,7 +271,7 @@ restoregame(fname) c[EXPERIENCE] = skill[24]; raiseexperience((long)tmp); } - getlevel(); lasttime=gtime; + getlevel(); lasttime=gltime; } /* |