1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix compiling

This commit is contained in:
nordsoft 2023-09-04 03:37:55 +04:00
parent db32c2387e
commit 8b91a1315c

View File

@ -189,7 +189,7 @@ void Initializer::initialize(CGMine * o)
o->tempOwner = defaultPlayer;
if(o->isAbandoned())
{
for(auto r = GameResID(0); r < GameResID::COUNT; ++r)
for(auto r = 0; r < GameConstants::RESOURCE_QUANTITY - 1; ++r)
o->abandonedMineResources.insert(r);
}
else