summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 01:31:52 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 01:31:52 +0000
commit1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2 (patch)
treedcd5d83f11c5465b57cc1fb5d2ea80b5c35f40da /src/map/pc.c
parentfea72d3f3c14ce84c86d347ed66339bb50e581f7 (diff)
downloadhercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.tar.gz
hercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.tar.bz2
hercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.tar.xz
hercules-1ab8da3d02f841c0e74af10ecc60b63d5c13f5e2.zip
Fixed bugreport:5468 Swordsman upper classes and ranger are no longer allowed to use reins of mount (new mounts)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15746 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index c277279c8..d5a7c65cc 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6945,7 +6945,7 @@ int pc_setoption(struct map_session_data *sd,int type)
status_calc_pc(sd,0); //Remove speed penalty.
}
- if (type&OPTION_MOUNTING && !(p_type&OPTION_MOUNTING) && ( sd->class_&MAPID_THIRDMASK ) != MAPID_RANGER ) {
+ if (type&OPTION_MOUNTING && !(p_type&OPTION_MOUNTING) && !pc_cant_newmount(sd) ) {
clif_status_load_notick(&sd->bl,SI_ALL_RIDING,2,1,0,0);
status_calc_pc(sd,0);
} else if (!(type&OPTION_MOUNTING) && p_type&OPTION_MOUNTING) {