mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix: Stupid
This commit is contained in:
parent
a98458a9f3
commit
cd98cd4c3f
|
@ -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++)
|
||||
|
|
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue