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:
@ -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
|
||||
|
Reference in New Issue
Block a user