about summary refs log tree commit diff
path: root/src/game/server/eventhandler.cpp
diff options
context:
space:
mode:
authorChoupom <andycootlapin@hotmail.fr>2011-06-01 19:43:48 +0200
committeroy <Tom_Adams@web.de>2011-06-02 17:40:08 +0200
commitdeff0ce7c4442950580533b47d7145f79bcca9bb (patch)
tree352109f1a4d2b341a28ad021ffd8cd57f882da4f /src/game/server/eventhandler.cpp
parent1a020170949d625467ab21599ba9e43d6169e83f (diff)
downloadzcatch-deff0ce7c4442950580533b47d7145f79bcca9bb.tar.gz
zcatch-deff0ce7c4442950580533b47d7145f79bcca9bb.zip
fixed netevent struct names
Diffstat (limited to 'src/game/server/eventhandler.cpp')
-rw-r--r--src/game/server/eventhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/eventhandler.cpp b/src/game/server/eventhandler.cpp
index deb1ca4e..354bd4ab 100644
--- a/src/game/server/eventhandler.cpp
+++ b/src/game/server/eventhandler.cpp
@@ -46,7 +46,7 @@ void CEventHandler::Snap(int SnappingClient)
 	{
 		if(SnappingClient == -1 || CmaskIsSet(m_aClientMasks[i], SnappingClient))
 		{
-			NETEVENT_COMMON *ev = (NETEVENT_COMMON *)&m_aData[m_aOffsets[i]];
+			CNetEvent_Common *ev = (CNetEvent_Common *)&m_aData[m_aOffsets[i]];
 			if(SnappingClient == -1 || distance(GameServer()->m_apPlayers[SnappingClient]->m_ViewPos, vec2(ev->m_X, ev->m_Y)) < 1500.0f)
 			{
 				void *d = GameServer()->Server()->SnapNewItem(m_aTypes[i], i, m_aSizes[i]);