diff options
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r-- | src/net/eathena/maphandler.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp index 7054949f2..075a94a38 100644 --- a/src/net/eathena/maphandler.cpp +++ b/src/net/eathena/maphandler.cpp @@ -66,4 +66,12 @@ void MapHandler::camera(int action, outMsg.writeFloat(latitude, "latitude"); } +void MapHandler::clientVersion(const int version) const +{ + if (packetVersion < 20090406) + return; + createOutPacket(CMSG_CLIENT_VERSION); + outMsg.writeInt32(version, "version"); +} + } // namespace EAthena |