Fix: Stupid

This commit is contained in:
def 2014-01-01 22:37:18 +01:00
parent a98458a9f3
commit cd98cd4c3f
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ void CDragger::Move()
return;
CCharacter *Ents[MAX_CLIENTS];
int Num = GameServer()->m_World.FindEntities(m_Pos, LENGTH,
(CEntity**) Ents, 64, CGameWorld::ENTTYPE_CHARACTER);
(CEntity**) Ents, 16, CGameWorld::ENTTYPE_CHARACTER);
int Id = -1;
int MinLen = 0;
for (int i = 0; i < Num; i++)

View file

@ -36,7 +36,7 @@ void CGun::Fire()
}
int Num = -1;
Num = GameServer()->m_World.FindEntities(m_Pos, g_Config.m_SvPlasmaRange, (CEntity**)Ents, 64, CGameWorld::ENTTYPE_CHARACTER);
Num = GameServer()->m_World.FindEntities(m_Pos, g_Config.m_SvPlasmaRange, (CEntity**)Ents, 16, CGameWorld::ENTTYPE_CHARACTER);
for (int i = 0; i < Num; i++)
{