1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
This commit is contained in:
Laserlicht
2025-09-16 02:58:41 +02:00
parent 230144dd04
commit 9502c2c201
2 changed files with 6 additions and 2 deletions

View File

@@ -18,7 +18,11 @@
VCMI_LIB_NAMESPACE_BEGIN
ResourceSet::ResourceSet() = default;
ResourceSet::ResourceSet()
{
for(int i = 0; i < GameConstants::RESOURCE_QUANTITY; i++)
container[i] = 0;
}
ResourceSet::ResourceSet(const JsonNode & node)
{