From 882620de08dc5d255423803ee520471627c35456 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 25 Oct 2011 20:39:24 +0000 Subject: [PATCH] fix a bug regarding entity reuse git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11475 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_edict.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prvm_edict.c b/prvm_edict.c index c236447e..554ecbe7 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -1901,7 +1901,8 @@ void PRVM_Prog_Load(prvm_prog_t *prog, const char * filename, int numrequiredfun prog->error_cmd("PRVM_LoadProgs: couldn't load %s for %s", filename, prog->name); // TODO bounds check header fields (e.g. numstatements), they must never go behind end of file - prog->profiletime = prog->starttime = Sys_DirtyTime(); + prog->profiletime = Sys_DirtyTime(); + prog->starttime = realtime; Con_DPrintf("%s programs occupy %iK.\n", prog->name, (int)(filesize/1024)); -- 2.39.2