summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-22 17:41:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-22 17:41:30 +0300
commit82ceb77559198eb46d3a49beb50d130ccdce0afb (patch)
tree9cd31ad15287f88b45d1c17f1dafe370e2bde380 /src/net/eathena
parentbf71334ee1f0b194d5ef692f1abe6bf65eab3300 (diff)
downloadmv-82ceb77559198eb46d3a49beb50d130ccdce0afb.tar.gz
mv-82ceb77559198eb46d3a49beb50d130ccdce0afb.tar.bz2
mv-82ceb77559198eb46d3a49beb50d130ccdce0afb.tar.xz
mv-82ceb77559198eb46d3a49beb50d130ccdce0afb.zip
In charserverhandler add function to return hat slot.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/charserverhandler.cpp5
-rw-r--r--src/net/eathena/charserverhandler.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 533f8f633..4573f1ebe 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -713,4 +713,9 @@ void CharServerHandler::ping() const
outMsg.writeInt32(0, "unused");
}
+unsigned int CharServerHandler::hatSprite() const
+{
+ return 7;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h
index 2fd4d55f7..e646a2650 100644
--- a/src/net/eathena/charserverhandler.h
+++ b/src/net/eathena/charserverhandler.h
@@ -91,6 +91,8 @@ class CharServerHandler final : public MessageHandler,
void ping() const override final;
+ unsigned int hatSprite() const override final A_WARN_UNUSED;
+
protected:
static void processPincodeStatus(Net::MessageIn &msg);