some fixes

This commit is contained in:
ac-stef
2016-11-01 00:40:07 +01:00
parent e52c7b4e6e
commit 64a7eef335
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -252,8 +252,8 @@ void calcentitystats(entitystats_s &es, const persistent_entity *pents, int pent
if(!pents)
{ // use regular ents list
loopv(ents) _pents.add() = ents[i];
pents = &_pents[0];
pentsize = _pents.length();
if(pentsize) pents = &_pents[0];
}
#endif
memset(&es, 0, sizeof(es));