Merge pull request #471 from BenCat07/master

Fix lagbot Mode
This commit is contained in:
LightCat 2018-05-25 23:32:45 +02:00 committed by GitHub
commit 5e4b8c7826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -22,6 +22,8 @@
#include "playerresource.h"
#include "globals.h"
#include "classinfo.hpp"
#include "tf2.gen.hpp"
#include "client_class.h"
struct matrix3x4_t;

View File

@ -139,8 +139,6 @@ CachedEntity array[MAX_ENTITIES]{};
void Update()
{
PROF_SECTION(CACHE_UPDATE)
{
max = g_IEntityList->GetHighestEntityIndex();
if (max >= MAX_ENTITIES)
max = MAX_ENTITIES - 1;
@ -148,7 +146,6 @@ void Update()
{
array[i].Update();
}
}
}
void Invalidate()