diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 10:49:26 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 10:49:26 +0000 |
commit | 70a82456ade2c41fe8b6cf9ef3774428453b1c31 (patch) | |
tree | aa0eab1b0b2ca5283e07d4eab824c3f0735196b5 /src | |
parent | ded3beb31fd3aa57ce15ea85effeda5c329a3343 (diff) | |
download | hercules-70a82456ade2c41fe8b6cf9ef3774428453b1c31.tar.gz hercules-70a82456ade2c41fe8b6cf9ef3774428453b1c31.tar.bz2 hercules-70a82456ade2c41fe8b6cf9ef3774428453b1c31.tar.xz hercules-70a82456ade2c41fe8b6cf9ef3774428453b1c31.zip |
Rangers no longer are able to mount a new mount, bugreport:5158
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15266 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index aea604223..1110aba09 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -6672,7 +6672,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)) { + if (type&OPTION_MOUNTING && !(p_type&OPTION_MOUNTING) && ( sd->class_&MAPID_THIRDMASK ) != MAPID_RANGER ) { 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) { |