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/manaserv/gamehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/manaserv/gamehandler.cpp') diff --git a/src/net/manaserv/gamehandler.cpp b/src/net/manaserv/gamehandler.cpp index c2d20233..8b8b9d0f 100644 --- a/src/net/manaserv/gamehandler.cpp +++ b/src/net/manaserv/gamehandler.cpp @@ -28,7 +28,7 @@ #include "main.h" -Net::GameHandler *gameHandler; +extern Net::GameHandler *gameHandler; extern ManaServ::ChatHandler *chatHandler; -- cgit v1.2.3-70-g09d2