diff options
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index a3cb53fa9..757f1df4d 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -32,6 +32,9 @@ #include "debug.h" +extern int packetVersion; +extern int packetVersionZero; + namespace EAthena { @@ -376,4 +379,14 @@ void AdminHandler::slide(const int x, const int y) const strprintf("%d %d", x, y)); } +void AdminHandler::changeDress() const +{ + if (packetVersionZero < 20171214 && + packetVersion < 20171220) + { + return; + } + createOutPacket(CMSG_CHANGE_DRESS); +} + } // namespace EAthena |