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/specialhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/ea/specialhandler.cpp') diff --git a/src/net/ea/specialhandler.cpp b/src/net/ea/specialhandler.cpp index 5def63b7..b9335553 100644 --- a/src/net/ea/specialhandler.cpp +++ b/src/net/ea/specialhandler.cpp @@ -67,7 +67,7 @@ /** should always be zero if failed */ #define SKILL_FAILED 0x00 -Net::SpecialHandler *specialHandler; +extern Net::SpecialHandler *specialHandler; namespace EAthena { -- cgit v1.2.3-70-g09d2