From 91761b7926c2503664c4db24c5aa44f817384227 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 2 Dec 2009 14:35:42 -0700 Subject: Centralize netcode handler instances in Net Instead of each netcode making the global variables and Net referencing them, Net now makes them and the netcodes reference them. Also remove an innappropriate ChatHandler reference from eA's AdminHandler. --- src/net/ea/gamehandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/net/ea/gamehandler.cpp') diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp index 5becfe1b..41c86d4d 100644 --- a/src/net/ea/gamehandler.cpp +++ b/src/net/ea/gamehandler.cpp @@ -40,8 +40,7 @@ #include "utils/gettext.h" #include "utils/stringutils.h" -Net::GameHandler *gameHandler; -extern Game *game; +extern Net::GameHandler *gameHandler; namespace EAthena { -- cgit v1.2.3-70-g09d2