1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

replace hardcoded

This commit is contained in:
Laserlicht
2025-09-16 10:34:38 +02:00
parent 9502c2c201
commit 8ef97abc7d
8 changed files with 11 additions and 12 deletions

View File

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