Fixed SC_ALL_RIDING for Rangers
Due to this being OPTION_WUG before, Rangers who had a Warg but weren't riding it were unable to use Reins of Mount, but once you got on your Warg you were able to get on your mount while on a Warg.
This commit is contained in:
parent
dd3e7e1710
commit
cb43e7dd10
@ -7799,7 +7799,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SC_ALL_RIDING:
|
case SC_ALL_RIDING:
|
||||||
if( !sd || !&sd->sc || sc->option&(OPTION_RIDING|OPTION_DRAGON|OPTION_WUG|OPTION_MADOGEAR) )
|
if( !sd || !&sd->sc || sc->option&(OPTION_RIDING|OPTION_DRAGON|OPTION_WUGRIDER|OPTION_MADOGEAR) )
|
||||||
return 0;
|
return 0;
|
||||||
if( sc->data[type] )
|
if( sc->data[type] )
|
||||||
{ // Already mounted, just dismount.
|
{ // Already mounted, just dismount.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user