From 70a82456ade2c41fe8b6cf9ef3774428453b1c31 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 25 Dec 2011 10:49:26 +0000 Subject: 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 --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pc.c') 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) { -- cgit v1.2.3-70-g09d2