diff --git a/Crawler/Crawler.cpp b/Crawler/Crawler.cpp index 95c0a8ca..b0577012 100644 --- a/Crawler/Crawler.cpp +++ b/Crawler/Crawler.cpp @@ -1473,9 +1473,9 @@ void Crawler::InitializeLevel(std::string mapFile,MapName map){ } for(ConnectionPoint&cp:State_OverworldMap::connections){ + if(cp.levelDataExists)continue; if(VisualNovel::storyLevelData.count(cp.map)){ //Visual novel story data for story levels. cp.levelDataExists=true; - break; } if(LEVEL_NAMES.count(cp.map)&&&MapHelper::MapFromString(cp.map)==&MAP_DATA[map]){ MAP_DATA[map].name=cp.name; @@ -1483,7 +1483,6 @@ void Crawler::InitializeLevel(std::string mapFile,MapName map){ cp.spawns.push_back(spawn); } cp.levelDataExists=true; - break; } } } diff --git a/Crawler/Version.h b/Crawler/Version.h index 621ae255..27c7cc8b 100644 --- a/Crawler/Version.h +++ b/Crawler/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 0 #define VERSION_MINOR 2 #define VERSION_PATCH 1 -#define VERSION_BUILD 4267 +#define VERSION_BUILD 4270 #define stringify(a) stringify_(a) #define stringify_(a) #a