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:
Nova 2015-04-07 15:42:29 -07:00
parent dd3e7e1710
commit cb43e7dd10

View File

@ -7799,7 +7799,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty
break;
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;
if( sc->data[type] )
{ // Already mounted, just dismount.