Browse Source

Removes the extra check in node["Drops"] (#6309)

Atemo 3 years ago
parent
commit
e015832fa0
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/map/quest.cpp

+ 0 - 5
src/map/quest.cpp

@@ -318,11 +318,6 @@ uint64 QuestDatabase::parseBodyNode(const YAML::Node &node) {
 		const YAML::Node &drops = node["Drops"];
 		const YAML::Node &drops = node["Drops"];
 
 
 		for (const YAML::Node &dropNode : drops) {
 		for (const YAML::Node &dropNode : drops) {
-			if (quest->objectives.size() >= MAX_QUEST_OBJECTIVES) {
-				this->invalidWarning(dropNode, "Drops list exceeds the maximum of %d, skipping.\n", MAX_QUEST_OBJECTIVES);
-				return 0;
-			}
-
 			uint32 mob_id = 0; // Can be 0 which means all monsters
 			uint32 mob_id = 0; // Can be 0 which means all monsters
 
 
 			if (this->nodeExists(dropNode, "Mob")) {
 			if (this->nodeExists(dropNode, "Mob")) {