1.1 --- a/core/smn_hudtext.cpp Fri Mar 29 12:28:02 2013 -0400
1.2 +++ b/core/smn_hudtext.cpp Fri Mar 29 11:37:29 2013 -0700
1.3 @@ -34,8 +34,8 @@
1.4 #include "UserMessages.h"
1.5 #include "TimerSys.h"
1.6 #include "PlayerManager.h"
1.7 -#include "HandleSys.h"
1.8 #include "logic_bridge.h"
1.9 +#include "sourcemod.h"
1.10
1.11 #if SOURCE_ENGINE == SE_DOTA
1.12 #include <game/shared/protobuf/usermessages.pb.h>
1.13 @@ -101,7 +101,7 @@
1.14 }
1.15
1.16 m_PlayerHuds = new player_chaninfo_t[256+1];
1.17 - m_hHudSyncObj = g_HandleSys.CreateType("HudSyncObj", this, 0, NULL, NULL, g_pCoreIdent, NULL);
1.18 + m_hHudSyncObj = handlesys->CreateType("HudSyncObj", this, 0, NULL, NULL, g_pCoreIdent, NULL);
1.19
1.20 g_Players.AddClientListener(this);
1.21 }
1.22 @@ -114,7 +114,7 @@
1.23 }
1.24
1.25 delete [] m_PlayerHuds;
1.26 - g_HandleSys.RemoveType(m_hHudSyncObj, g_pCoreIdent);
1.27 + handlesys->RemoveType(m_hHudSyncObj, g_pCoreIdent);
1.28
1.29 g_Players.RemoveClientListener(this);
1.30 }
1.31 @@ -154,7 +154,7 @@
1.32
1.33 sec = HandleSecurity(pIdent, g_pCoreIdent);
1.34
1.35 - if ((hndl = g_HandleSys.CreateHandleEx(m_hHudSyncObj, obj, &sec, NULL, &err))
1.36 + if ((hndl = handlesys->CreateHandleEx(m_hHudSyncObj, obj, &sec, NULL, &err))
1.37 == BAD_HANDLE)
1.38 {
1.39 delete obj;
1.40 @@ -168,7 +168,7 @@
1.41 hud_syncobj_t **pObj)
1.42 {
1.43 HandleSecurity sec(pOwner, g_pCoreIdent);
1.44 - return g_HandleSys.ReadHandle(hndl, m_hHudSyncObj, &sec, (void **)pObj);
1.45 + return handlesys->ReadHandle(hndl, m_hHudSyncObj, &sec, (void **)pObj);
1.46 }
1.47
1.48 unsigned int AutoSelectChannel(unsigned int client)