summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-19 22:47:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-19 23:39:53 +0300
commit0f4c817e7b234c9be9dce9ff27e98a1dd0209ad1 (patch)
treee8b733e6ea9b780c67433ab9e1fd0e9f787e423f /src/net/eathena/skillhandler.cpp
parent881a0789997f64c6e3da0525ddca012de72b7201 (diff)
downloadmanaverse-0f4c817e7b234c9be9dce9ff27e98a1dd0209ad1.tar.gz
manaverse-0f4c817e7b234c9be9dce9ff27e98a1dd0209ad1.tar.bz2
manaverse-0f4c817e7b234c9be9dce9ff27e98a1dd0209ad1.tar.xz
manaverse-0f4c817e7b234c9be9dce9ff27e98a1dd0209ad1.zip
Add packet CMSG_SKILL_FEEL_SAVE_OK 0x0254
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 5cc6317a2..70988efd1 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -22,6 +22,7 @@
#include "net/eathena/skillhandler.h"
+#include "net/eathena/menu.h"
#include "net/eathena/messageout.h"
#include "net/eathena/protocolout.h"
@@ -101,4 +102,14 @@ void SkillHandler::getPkRanks() const
}
}
+void SkillHandler::feelSaveOk(const int which) const
+{
+ if (packetVersion >= 20050817)
+ {
+ createOutPacket(CMSG_SKILL_FEEL_SAVE_OK);
+ outMsg.writeInt8(CAST_S8(which), "which");
+ menu = MenuType::Unknown;
+ }
+}
+
} // namespace EAthena