From: cloudwalk Date: Wed, 1 Jul 2020 16:18:18 +0000 (+0000) Subject: Use double for freetime in edict_engineprivate_t and prvm_edict_private_t X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=debac738f56f703a246612a9a5101f3497e27812;p=xonotic%2Fdarkplaces.git Use double for freetime in edict_engineprivate_t and prvm_edict_private_t git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12768 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/progs.h b/progs.h index 20d1754b..3b6e3543 100644 --- 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) diff --git a/progsvm.h b/progsvm.h index e9999ca4..06588fd4 100644 --- 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