diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 11:42:12 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 12:15:50 +0100 |
commit | 06be39a51f62d365ce84d7815173577d2ecf8496 (patch) | |
tree | f4ae92023dd05cbf8d7b9c73e0a8779241202c4c /src/net/tmwserv/logouthandler.cpp | |
parent | 58b33406b1354e6814ed29d55a55a36053445ecd (diff) | |
download | mana-06be39a51f62d365ce84d7815173577d2ecf8496.tar.gz mana-06be39a51f62d365ce84d7815173577d2ecf8496.tar.bz2 mana-06be39a51f62d365ce84d7815173577d2ecf8496.tar.xz mana-06be39a51f62d365ce84d7815173577d2ecf8496.zip |
Changed the includes for the net/tmwserv/ directory
Diffstat (limited to 'src/net/tmwserv/logouthandler.cpp')
-rw-r--r-- | src/net/tmwserv/logouthandler.cpp | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/net/tmwserv/logouthandler.cpp b/src/net/tmwserv/logouthandler.cpp index e2265c5f..8b0e2d6e 100644 --- a/src/net/tmwserv/logouthandler.cpp +++ b/src/net/tmwserv/logouthandler.cpp @@ -19,16 +19,20 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "logouthandler.h" +#include "net/tmwserv/logouthandler.h" -#include "../messagein.h" -#include "protocol.h" +#include "net/tmwserv/protocol.h" -#include "../../main.h" +#include "net/messagein.h" + +#include "main.h" LogoutHandler::LogoutHandler(): -mPassToken(NULL), mScenario(LOGOUT_EXIT), -mLoggedOutAccount(false), mLoggedOutGame(false), mLoggedOutChat(false) + mPassToken(NULL), + mScenario(LOGOUT_EXIT), + mLoggedOutAccount(false), + mLoggedOutGame(false), + mLoggedOutChat(false) { static const Uint16 _messages[] = { APMSG_LOGOUT_RESPONSE, @@ -197,15 +201,14 @@ void LogoutHandler::handleMessage(MessageIn &msg) } } -void -LogoutHandler::setScenario(unsigned short scenario, std::string *passToken) +void LogoutHandler::setScenario(unsigned short scenario, + std::string *passToken) { mScenario = scenario; mPassToken = passToken; } -void -LogoutHandler::reset() +void LogoutHandler::reset() { mPassToken = NULL; mScenario = LOGOUT_EXIT; |