1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fix some compilation warnings

This commit is contained in:
Vadim Markovtsev
2016-10-27 19:22:29 +02:00
parent 0cf5a10bd1
commit c696746017
4 changed files with 6 additions and 54 deletions

View File

@ -479,7 +479,7 @@ void CMapGenerator::createDirectConnections()
int3 posA = zoneA->getPos();
int3 posB = zoneB->getPos();
auto zoneAid = zoneA->getId();
// auto zoneAid = zoneA->getId();
auto zoneBid = zoneB->getId();
if (posA.z == posB.z)
@ -630,7 +630,7 @@ void CMapGenerator::createConnections2()
else if ((result1 == EObjectPlacingResult::SEALED_OFF) || (result2 == EObjectPlacingResult::SEALED_OFF))
{
//sealed-off tiles were blocked, exit inner loop and get another tile set
bool continueOuterLoop = true;
continueOuterLoop = true;
break;
}
else