]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Use double for freetime in edict_engineprivate_t and prvm_edict_private_t
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Jul 2020 16:18:18 +0000 (16:18 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Jul 2020 16:18:18 +0000 (16:18 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12768 d7cf8633-e32d-0410-b094-e92efae38249

progs.h
progsvm.h

diff --git a/progs.h b/progs.h
index 20d1754b27b34e418e4e567b31e821f26ddbb6ff..3b6e3543e882eeb7770c18993aff923959d90768 100644 (file)
--- a/progs.h
+++ b/progs.h
@@ -71,7 +71,7 @@ typedef struct edict_engineprivate_s
        qboolean free;
        // sv.time when the object was freed (to prevent early reuse which could
        // mess up client interpolation or obscure severe QuakeC bugs)
-       float freetime;
+       double freetime;
        // mark for the leak detector
        int mark;
        // place in the code where it was allocated (for the leak detector)
index e9999ca4f83b61e11333e035d389ca463401012a..06588fd4a2098c0095ba5c5e75ff0608d7f0c60b 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -70,7 +70,7 @@ typedef struct prvm_required_field_s
 typedef struct prvm_edict_private_s
 {
        qboolean free;
-       float freetime; // realtime of last change to "free" (i.e. also set on allocation)
+       double freetime; // realtime of last change to "free" (i.e. also set on allocation)
        int mark; // used during leaktest (0 = unref, >0 = referenced); special values during server physics:
 #define PRVM_EDICT_MARK_WAIT_FOR_SETORIGIN -1
 #define PRVM_EDICT_MARK_SETORIGIN_CAUGHT -2