diff options
| author | GreYFoXGTi <GreYFoXGTi@GMaiL.CoM> | 2011-02-12 12:40:36 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-02-12 21:18:41 +0100 |
| commit | 1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251 (patch) | |
| tree | d4b94b98105c3af23c79bae02a132bfe66738392 /src/game/server/entity.cpp | |
| parent | e45ad2a085d8f02aadc5d823a1d7dda4e1da70aa (diff) | |
| download | zcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.tar.gz zcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.zip | |
Refactoring & fixed WEAPONSPEC_GUN in content.py
Diffstat (limited to 'src/game/server/entity.cpp')
| -rw-r--r-- | src/game/server/entity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |