summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/adminhandler.cpp2
-rw-r--r--src/net/ea/beinghandler.cpp4
-rw-r--r--src/net/ea/charserverhandler.cpp2
-rw-r--r--src/net/ea/chathandler.cpp6
-rw-r--r--src/net/ea/npchandler.cpp2
-rw-r--r--src/net/ea/playerhandler.cpp4
-rw-r--r--src/net/ea/tradehandler.cpp4
7 files changed, 11 insertions, 13 deletions
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index c84cdea3..c3f960c7 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -30,7 +30,7 @@
#include "being.h"
#include "beingmanager.h"
#include "game.h"
-#include "player_relations.h"
+#include "playerrelations.h"
#include "gui/widgets/chattab.h"
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index b6eab2c7..65d19040 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -33,9 +33,9 @@
#include "localplayer.h"
#include "log.h"
#include "npc.h"
-#include "player_relations.h"
+#include "playerrelations.h"
-#include "gui/npc_text.h"
+#include "gui/npctextdialog.h"
#include <iostream>
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index fab1ffe3..c1d84265 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -33,7 +33,7 @@
#include "main.h"
#include "gui/charcreatedialog.h"
-#include "gui/ok_dialog.h"
+#include "gui/okdialog.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp
index 26af36dd..db89e316 100644
--- a/src/net/ea/chathandler.cpp
+++ b/src/net/ea/chathandler.cpp
@@ -30,7 +30,7 @@
#include "beingmanager.h"
#include "game.h"
#include "localplayer.h"
-#include "player_relations.h"
+#include "playerrelations.h"
#include "gui/widgets/chattab.h"
@@ -40,8 +40,6 @@
#include <string>
-#define SERVER_NAME "Server"
-
Net::ChatHandler *chatHandler;
namespace EAthena {
@@ -96,7 +94,7 @@ void ChatHandler::handleMessage(MessageIn &msg)
chatMsg = msg.readString(chatMsgLength);
- if (nick != SERVER_NAME)
+ if (nick != "Server")
{
if (player_relations.hasPermission(nick, PlayerRelation::WHISPER))
chatWindow->whisper(nick, chatMsg);
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index 05313798..5c41c380 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -32,7 +32,7 @@
#include "localplayer.h"
#include "npc.h"
-#include "gui/npc_text.h"
+#include "gui/npctextdialog.h"
#include "gui/npcintegerdialog.h"
#include "gui/npclistdialog.h"
#include "gui/npcstringdialog.h"
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 4ff480d6..ef6edc87 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -35,11 +35,11 @@
#include "gui/buy.h"
#include "gui/buysell.h"
#include "gui/gui.h"
-#include "gui/npc_text.h"
+#include "gui/npctextdialog.h"
#include "gui/npcintegerdialog.h"
#include "gui/npclistdialog.h"
#include "gui/npcstringdialog.h"
-#include "gui/ok_dialog.h"
+#include "gui/okdialog.h"
#include "gui/sell.h"
#include "gui/skill.h"
#include "gui/storagewindow.h"
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 1bf7e303..ee8e6733 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -29,9 +29,9 @@
#include "inventory.h"
#include "item.h"
#include "localplayer.h"
-#include "player_relations.h"
+#include "playerrelations.h"
-#include "gui/confirm_dialog.h"
+#include "gui/confirmdialog.h"
#include "gui/trade.h"
#include "gui/widgets/chattab.h"