浏览代码

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: