Explorar el Código

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.
Nova hace 10 años
padre
commit
cb43e7dd10
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/map/status.c

+ 1 - 1
src/map/status.c

@@ -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.