summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-28 04:39:54 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-28 04:39:54 +0000
commitbaabe7950fb4957e8d6fdc9159058eb2fef4c198 (patch)
treee4c7780744d16ea974fdd5468536acf3d851926f /src/map/pc.h
parent0fcebf1d6be27d213aecbf3af841db25779e9057 (diff)
downloadhercules-baabe7950fb4957e8d6fdc9159058eb2fef4c198.tar.gz
hercules-baabe7950fb4957e8d6fdc9159058eb2fef4c198.tar.bz2
hercules-baabe7950fb4957e8d6fdc9159058eb2fef4c198.tar.xz
hercules-baabe7950fb4957e8d6fdc9159058eb2fef4c198.zip
Fixed bugreport:5497, LK/RG/PD/RG new mounts are now available again to clients prior to november 2011, items with delayed consumption are no longer available to users in new mount state. Updated setoption to consider pc_cant_mount and remove OPTION_MOUNTING from the opt bundle
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15808 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 8d8e9e7e0..d14941bb4 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -630,6 +630,14 @@ enum e_pc_permission {
( ((sd)->class_&MAPID_BASEMASK) == MAPID_SWORDMAN && (sd)->status.class_ != JOB_SWORDMAN ) \
)
+/**
+ * New Mounts are available to all jobs prior to November 2011
+ **/
+#if PACKETVER <= 20111100
+ #undef pc_cant_newmount
+ #define pc_cant_newmount(sd) 0
+#endif
+
#define pc_stop_walking(sd, type) unit_stop_walking(&(sd)->bl, type)
#define pc_stop_attack(sd) unit_stop_attack(&(sd)->bl)