diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-12-02 14:35:42 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-12-02 14:35:42 -0700 |
commit | 91761b7926c2503664c4db24c5aa44f817384227 (patch) | |
tree | a6c1c5d31593048326f1026fa52997b3003df471 /src/net/manaserv/playerhandler.cpp | |
parent | d12c93d4d6fc38eb86b5cb8515f4b8f8a7e96b54 (diff) | |
download | mana-client-91761b7926c2503664c4db24c5aa44f817384227.tar.gz mana-client-91761b7926c2503664c4db24c5aa44f817384227.tar.bz2 mana-client-91761b7926c2503664c4db24c5aa44f817384227.tar.xz mana-client-91761b7926c2503664c4db24c5aa44f817384227.zip |
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.
Diffstat (limited to 'src/net/manaserv/playerhandler.cpp')
-rw-r--r-- | src/net/manaserv/playerhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp index 276b2c3a..b0f299b6 100644 --- a/src/net/manaserv/playerhandler.cpp +++ b/src/net/manaserv/playerhandler.cpp @@ -87,7 +87,7 @@ namespace { } deathListener; } -Net::PlayerHandler *playerHandler; +extern Net::PlayerHandler *playerHandler; namespace ManaServ { |