Selaa lähdekoodia

Unused variable

Tomasz Zieliński 1 vuosi sitten
vanhempi
sitoutus
224e971c4b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/mapObjects/ObstacleSetHandler.cpp

+ 1 - 1
lib/mapObjects/ObstacleSetHandler.cpp

@@ -229,7 +229,7 @@ std::shared_ptr<ObstacleSet> ObstacleSetHandler::loadFromJson(const std::string
 
 
 	auto terrainName = biome["terrain"].String();
 	auto terrainName = biome["terrain"].String();
 
 
-	VLC->identifiers()->requestIdentifier(scope, "terrain", terrainName, [this, os](si32 id)
+	VLC->identifiers()->requestIdentifier(scope, "terrain", terrainName, [os](si32 id)
 	{
 	{
 		os->setTerrain(TerrainId(id));
 		os->setTerrain(TerrainId(id));
 	});
 	});