소스 검색

Fix compiling

nordsoft 2 년 전
부모
커밋
62c4e8a98d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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: