Corrected Issue #22. Connection points that were already defined as existing were being reiterated through numerous times again.
This commit is contained in:
+1
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user