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
@@ -672,7 +672,7 @@ void entstats_(void)
loopi(MAXENTTYPES) if(es.entcnt[i]) switch(i)
{
case MAPMODEL: conoutf(" %d %s, %d clipped, %s%d unconfigured", es.entcnt[i], entnames[i], clipents, xmodels ? "\f3" : "", xmodels); break;
case SOUND: conoutf(" %d %s, %s%d unconfigured", es.entcnt[i], entnames[i], xsounds ? "\f3" : "", xsounds);
case SOUND: conoutf(" %d %s, %s%d unconfigured", es.entcnt[i], entnames[i], xsounds ? "\f3" : "", xsounds); break;
case PLAYERSTART: conoutf(" %d %s, %d CLA, %d RVSF, %d FFA%c \f3unknown %d", es.entcnt[i], entnames[i], es.spawns[0], es.spawns[1], es.spawns[2], es.unknownspawns ? ',' : '\0', es.unknownspawns); break;
case CTF_FLAG: conoutf(" %d %s, %d CLA, %d RVSF%c \f3unknown %d", es.entcnt[i], entnames[i], es.flags[0], es.flags[1], es.unknownflags ? ',' : '\0', es.unknownflags); break;
case CLIP:
+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));