summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-03 21:18:23 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-03 21:18:23 +0000
commit2b6c40327a3e05a18bbfabd319a0735d75fbb8e9 (patch)
tree3f0a2b66c6a93c0397266f0fabc844fe8c121dee /src/common/mmo.h
parentb81e90566e729d2020e8f09a1d1bc86d25bad315 (diff)
downloadhercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.tar.gz
hercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.tar.bz2
hercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.tar.xz
hercules-2b6c40327a3e05a18bbfabd319a0735d75fbb8e9.zip
Cleanup of conditions for old clients.
- No one use versions as old, besides being advised to keep up to date. - Informations of packets will be maintained, the cleanup is just for conditions. Please do not remove old packet information, it is useful for future searches. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15828 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 2e25eae16..3b049fc6e 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -50,16 +50,6 @@
//#define PACKETVER 20100730
#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
-
//Remove/Comment this line to disable sc_data saving. [Skotlex]
#define ENABLE_SC_SAVING
//Remove/Comment this line to disable server-side hot-key saving support [Skotlex]
@@ -67,16 +57,8 @@
#define HOTKEY_SAVING
//The number is the max number of hotkeys to save
-#if PACKETVER < 20090603
- // (27 = 9 skills x 3 bars) (0x02b9,191)
- #define MAX_HOTKEYS 27
-#elif PACKETVER < 20090617
- // (36 = 9 skills x 4 bars) (0x07d9,254)
- #define MAX_HOTKEYS 36
-#else
- // (38 = 9 skills x 4 bars & 2 Quickslots)(0x07d9,268)
- #define MAX_HOTKEYS 38
-#endif
+// (38 = 9 skills x 4 bars & 2 Quickslots)(0x07d9,268)
+#define MAX_HOTKEYS 38
#define MAX_MAP_PER_SERVER 1500 // Increased to allow creation of Instance Maps
#define MAX_INVENTORY 100