summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-16 17:20:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-16 22:33:53 +0300
commitade168344165534061b8f184866e2808af7f5d48 (patch)
tree7316b20df44434085b4649453f07ce9702261c98 /src/net
parent08f2ee6470104c959f686504cc4324aee78cecaf (diff)
downloadmanaverse-ade168344165534061b8f184866e2808af7f5d48.tar.gz
manaverse-ade168344165534061b8f184866e2808af7f5d48.tar.bz2
manaverse-ade168344165534061b8f184866e2808af7f5d48.tar.xz
manaverse-ade168344165534061b8f184866e2808af7f5d48.zip
Simplify skills loading.
Also putting in defines legacy manaserv code.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/generalhandler.cpp2
-rw-r--r--src/net/tmwa/generalhandler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index b95991f55..91f567548 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -247,7 +247,7 @@ void GeneralHandler::processEvent(Channels channel,
if (inventoryWindow)
inventoryWindow->setSplitAllowed(false);
if (skillDialog)
- skillDialog->loadSkills("ea-skills.xml");
+ skillDialog->loadSkills();
if (!statusWindow)
return;
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index b26a14daf..39e37f62e 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -256,7 +256,7 @@ void GeneralHandler::processEvent(Channels channel,
if (inventoryWindow)
inventoryWindow->setSplitAllowed(false);
if (skillDialog)
- skillDialog->loadSkills("ea-skills.xml");
+ skillDialog->loadSkills();
if (!statusWindow)
return;