diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 15:03:23 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 15:03:23 -0700 |
commit | d5ef936bf2d8976a32d01b4e32024c89333ca645 (patch) | |
tree | 3093ae1b7611b8dbad2aba02cba12b9e2da31e36 /src/net/manaserv/charhandler.cpp | |
parent | c416c51531e37e0be457e47b7c0e52439c543341 (diff) | |
download | mana-d5ef936bf2d8976a32d01b4e32024c89333ca645.tar.gz mana-d5ef936bf2d8976a32d01b4e32024c89333ca645.tar.bz2 mana-d5ef936bf2d8976a32d01b4e32024c89333ca645.tar.xz mana-d5ef936bf2d8976a32d01b4e32024c89333ca645.zip |
Fix switching characters under ManaServ
Diffstat (limited to 'src/net/manaserv/charhandler.cpp')
-rw-r--r-- | src/net/manaserv/charhandler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/manaserv/charhandler.cpp b/src/net/manaserv/charhandler.cpp index bc7ffaaa..a239e2d1 100644 --- a/src/net/manaserv/charhandler.cpp +++ b/src/net/manaserv/charhandler.cpp @@ -22,6 +22,7 @@ #include "net/manaserv/charhandler.h" #include "net/manaserv/connection.h" +#include "net/manaserv/gamehandler.h" #include "net/manaserv/messagein.h" #include "net/manaserv/messageout.h" #include "net/manaserv/protocol.h" @@ -59,6 +60,8 @@ struct CharInfo { typedef std::vector<CharInfo> CharInfos; CharInfos chars; +extern ManaServ::GameHandler *gameHandler; + namespace ManaServ { extern Connection *accountServerConnection; @@ -394,7 +397,7 @@ void CharHandler::deleteCharacter(int slot, LocalPlayer* character) void CharHandler::switchCharacter() { - // TODO + gameHandler->quit(true); } } // namespace ManaServ |