summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
parentbf71334ee1f0b194d5ef692f1abe6bf65eab3300 (diff)
downloadplus-82ceb77559198eb46d3a49beb50d130ccdce0afb.tar.gz
plus-82ceb77559198eb46d3a49beb50d130ccdce0afb.tar.bz2
plus-82ceb77559198eb46d3a49beb50d130ccdce0afb.tar.xz
plus-82ceb77559198eb46d3a49beb50d130ccdce0afb.zip
In charserverhandler add function to return hat slot.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/charserverhandler.cpp5
-rw-r--r--src/net/tmwa/charserverhandler.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp
index d819e19e4..57e7eea1b 100644
--- a/src/net/tmwa/charserverhandler.cpp
+++ b/src/net/tmwa/charserverhandler.cpp
@@ -542,4 +542,9 @@ void CharServerHandler::ping() const
{
}
+unsigned int CharServerHandler::hatSprite() const
+{
+ return 7;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/charserverhandler.h b/src/net/tmwa/charserverhandler.h
index c89cac22f..e1e2ec48e 100644
--- a/src/net/tmwa/charserverhandler.h
+++ b/src/net/tmwa/charserverhandler.h
@@ -92,6 +92,8 @@ class CharServerHandler final : public MessageHandler,
void ping() const override final;
+ unsigned int hatSprite() const override final A_WARN_UNUSED;
+
protected:
static void processCharCreate(Net::MessageIn &msg);