diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-16 17:20:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-16 22:33:53 +0300 |
commit | ade168344165534061b8f184866e2808af7f5d48 (patch) | |
tree | 7316b20df44434085b4649453f07ce9702261c98 /src/net | |
parent | 08f2ee6470104c959f686504cc4324aee78cecaf (diff) | |
download | manaplus-ade168344165534061b8f184866e2808af7f5d48.tar.gz manaplus-ade168344165534061b8f184866e2808af7f5d48.tar.bz2 manaplus-ade168344165534061b8f184866e2808af7f5d48.tar.xz manaplus-ade168344165534061b8f184866e2808af7f5d48.zip |
Simplify skills loading.
Also putting in defines legacy manaserv code.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/generalhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 2 |
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; |