Explorar o código

Fix compiling

nordsoft %!s(int64=2) %!d(string=hai) anos
pai
achega
62c4e8a98d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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: