1
0
Fork 0
forked from fte/fteqw

Don't set lastruntime except in QW. Its just spammy in saved games. Its not a useful field.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5294 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-08-21 18:49:27 +00:00
parent 5b2d25d36f
commit f80c769ebe

View file

@ -2142,7 +2142,8 @@ void WPhys_RunEntity (world_t *w, wedict_t *ent)
if (ent->lastruntime == w->framenum)
return;
ent->lastruntime = w->framenum;
ent->v->lastruntime = w->physicstime;
if (progstype == PROG_QW) //we don't use the field any more, but qw mods might.
ent->v->lastruntime = w->physicstime;
#ifndef CLIENTONLY
svent = NULL;
#endif