summaryrefslogtreecommitdiff
path: root/src/net/eathena/maphandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r--src/net/eathena/maphandler.cpp8
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