Browse Source

Fix compiling

nordsoft 2 years ago
parent
commit
62c4e8a98d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/mapping/MapFormatH3M.cpp

+ 2 - 1
lib/mapping/MapFormatH3M.cpp

@@ -2005,11 +2005,12 @@ int CMapLoaderH3M::readQuest(IQuestObject * guard, const int3 & position)
 			{
 				guard->quest->primary[x] = reader->readUInt8();
 			}
+			break;
 		}
-		break;
 		case EQuestMission::LEVEL:
 		{
 			guard->quest->heroLevel = reader->readUInt32();
+			break;
 		}
 		case EQuestMission::KILL_HERO:
 		case EQuestMission::KILL_CREATURE: