Browse Source

Added missing breaks to instance_warpall

Lemongrass3110 2 years ago
parent
commit
839d378680
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/map/script.cpp

+ 2 - 0
src/map/script.cpp

@@ -21562,9 +21562,11 @@ static int buildin_instance_warpall_sub(struct block_list *bl, va_list ap)
 		case IM_GUILD:
 			if (sd->status.guild_id != owner_id)
 				return 0;
+			break;
 		case IM_CLAN:
 			if (sd->status.clan_id != owner_id)
 				return 0;
+			break;
 	}
 
 	pc_setpos(sd, m, x, y, CLR_TELEPORT);