From 1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251 Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Sat, 12 Feb 2011 12:40:36 +0200 Subject: Refactoring & fixed WEAPONSPEC_GUN in content.py --- src/game/server/entity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/server/entity.cpp') diff --git a/src/game/server/entity.cpp b/src/game/server/entity.cpp index aff36943..03b55982 100644 --- a/src/game/server/entity.cpp +++ b/src/game/server/entity.cpp @@ -16,7 +16,7 @@ CEntity::CEntity(CGameWorld *pGameWorld, int ObjType) m_ProximityRadius = 0; m_MarkedForDestroy = false; - m_Id = Server()->SnapNewID(); + m_ID = Server()->SnapNewID(); m_pPrevTypeEntity = 0; m_pNextTypeEntity = 0; @@ -25,7 +25,7 @@ CEntity::CEntity(CGameWorld *pGameWorld, int ObjType) CEntity::~CEntity() { GameWorld()->RemoveEntity(this); - Server()->SnapFreeID(m_Id); + Server()->SnapFreeID(m_ID); } int CEntity::NetworkClipped(int SnappingClient) -- cgit 1.4.1