summaryrefslogtreecommitdiff
path: root/src/net/manaserv/beinghandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-03 12:06:48 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-03 12:06:48 -0700
commite07e2a6db902f2ce0095b65708a98fa4dbf40aa0 (patch)
treeb91b3e3d3f06199dcc34e32834941964a263e0be /src/net/manaserv/beinghandler.cpp
parente2897e4a7cb7eb0c4a7e46d72a9a19b909368c26 (diff)
downloadmana-e07e2a6db902f2ce0095b65708a98fa4dbf40aa0.tar.gz
mana-e07e2a6db902f2ce0095b65708a98fa4dbf40aa0.tar.bz2
mana-e07e2a6db902f2ce0095b65708a98fa4dbf40aa0.tar.xz
mana-e07e2a6db902f2ce0095b65708a98fa4dbf40aa0.zip
Simplify ManaServ netcode some more
Diffstat (limited to 'src/net/manaserv/beinghandler.cpp')
-rw-r--r--src/net/manaserv/beinghandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/manaserv/beinghandler.cpp b/src/net/manaserv/beinghandler.cpp
index 71325fd5..d7cb40c0 100644
--- a/src/net/manaserv/beinghandler.cpp
+++ b/src/net/manaserv/beinghandler.cpp
@@ -21,6 +21,7 @@
#include "net/manaserv/beinghandler.h"
+#include "net/manaserv/playerhandler.h"
#include "net/manaserv/protocol.h"
#include "net/messagein.h"
@@ -41,8 +42,6 @@
#include "utils/gettext.h"
-#include "net/manaserv/gameserver/player.h"
-
namespace ManaServ {
BeingHandler::BeingHandler()
@@ -288,7 +287,7 @@ void BeingHandler::handleBeingActionChangeMessage(Net::MessageIn &msg)
std::string message(deadMsg[rand()%13]);
message.append(std::string(" ") + _("Press OK to respawn."));
OkDialog *dlg = new OkDialog(_("You Died"), message);
- dlg->addActionListener(&(ManaServ::GameServer::Player::respawnListener));
+ dlg->addActionListener(&(ManaServ::respawnListener));
}
}