]> granicus.if.org Git - nethack/commitdiff
urealtime.realtime was being incorrectly calculated
authornhmall <nhmall@nethack.org>
Sun, 22 Dec 2019 22:21:02 +0000 (17:21 -0500)
committernhmall <nhmall@nethack.org>
Sun, 22 Dec 2019 22:21:02 +0000 (17:21 -0500)
Looks like a branch merge gone awry perhaps.

fixes #270

doc/fixes37.0
src/save.c

index 41f7347a7b2258d5dfbe5654c1ed40ca9cbe857f..65457fbc3d4d98ac4e580b01f6eb9812e1d7ef51 100644 (file)
@@ -13,6 +13,7 @@ improvements to pronoun usage when hallucinating
 function calls made from mapglyph based on dungeon level are now called once
        per level
 fix accessing mons[-1] when trying to gate in a non-valid demon
+urealtime.realtime was being incorrectly calculated
 
 
 Fixes to Pre-3.7.0 Problems that Were Exposed Via git Repository
index aff48498729112b82b64bcf2cbea85bc1398ffc7..55fcc8b73571913a0540c055ebf0635975de18e5 100644 (file)
@@ -287,10 +287,6 @@ NHFILE *nhfp;
     urealtime.finish_time = getnow();
     urealtime.realtime += (long) (urealtime.finish_time
                                     - urealtime.start_timing);
-
-    urealtime.finish_time = getnow();
-    urealtime.realtime += (long) (urealtime.finish_time
-                                  - urealtime.start_timing);
     if (nhfp->structlevel) {
         bwrite(nhfp->fd, (genericptr_t) &u, sizeof u);
         bwrite(nhfp->fd, yyyymmddhhmmss(ubirthday), 14);