1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

Remove unused variables

This commit is contained in:
Tomasz Zieliński 2023-05-20 14:28:18 +02:00
parent a8b882e5bb
commit aa16f57b8a

View File

@ -221,9 +221,6 @@ void CZonePlacer::placeOnGrid(CRandomGenerator* rand)
}
//Spread apart player starting zones
auto zoneType = zone->getType();
auto existingZoneType = existingZone->getType();
if (zone->getOwner() && existingZone->getOwner()) //Players participate in game
{
int firstPlayer = zone->getOwner().value();