mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Build fixes
This commit is contained in:
@@ -54,7 +54,8 @@ public:
|
||||
return resourceRef + other;
|
||||
}
|
||||
|
||||
T operator+(ThreadSafeProxy<T> & other)
|
||||
template <typename U>
|
||||
T operator+(ThreadSafeProxy<U> & other)
|
||||
{
|
||||
return get() + other.get();
|
||||
}
|
||||
|
||||
@@ -614,7 +614,7 @@ void ObjectManager::placeObject(rmg::Object & object, bool guarded, bool updateD
|
||||
}
|
||||
}
|
||||
|
||||
for (auto id : sorted)
|
||||
for (auto id : adjacentZones)
|
||||
{
|
||||
auto otherZone = map.getZones().at(id);
|
||||
if ((otherZone->getType() == ETemplateZoneType::WATER) == (zone.getType() == ETemplateZoneType::WATER))
|
||||
|
||||
Reference in New Issue
Block a user