mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
fixed a typo
This commit is contained in:
parent
3c1eee2a12
commit
7c67a1334c
|
@ -61,7 +61,7 @@ int CGameWorld::FindEntities(vec2 Pos, float Radius, CEntity **ppEnts, int Max,
|
|||
void CGameWorld::InsertEntity(CEntity *pEnt)
|
||||
{
|
||||
#ifdef CONF_DEBUG
|
||||
for(CEntity *pCur = m_apFirstEntityTypes[pEnt->m_Objtype]; pCur; pCur = pCur->m_pNextTypeEntity)
|
||||
for(CEntity *pCur = m_apFirstEntityTypes[pEnt->m_ObjType]; pCur; pCur = pCur->m_pNextTypeEntity)
|
||||
dbg_assert(pCur != pEnt, "err");
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue