mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fix compiling
This commit is contained in:
parent
db32c2387e
commit
8b91a1315c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user