summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-02 20:21:25 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-02 20:21:25 +0000
commit007926f449df5385122279348361d4b8bc680ad9 (patch)
tree0b9140b50ac6e59fe2598a7017c43363b5e4f45a /src
parentdf801754db61508ccb447b26f6b2b2aa9a304f9e (diff)
downloadhercules-007926f449df5385122279348361d4b8bc680ad9.tar.gz
hercules-007926f449df5385122279348361d4b8bc680ad9.tar.bz2
hercules-007926f449df5385122279348361d4b8bc680ad9.tar.xz
hercules-007926f449df5385122279348361d4b8bc680ad9.zip
* Added backward compatible handling of PACKETVER 8 and 9. (followup to r12539)
(more missing changelog messages from ultramage) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12685 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index ee75f1a94..d9672d624 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -42,6 +42,15 @@ struct quest;
#ifndef PACKETVER
#define PACKETVER 20071106
#endif
+// backward compatible PACKETVER 8 and 9
+#if PACKETVER == 8
+#undef PACKETVER
+#define PACKETVER 20070521
+#endif
+#if PACKETVER == 9
+#undef PACKETVER
+#define PACKETVER 20071106
+#endif
// packet DB
#define MAX_PACKET_DB 0x300