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

convert ResourceSet to std::map

This commit is contained in:
Laserlicht
2025-09-15 23:48:55 +02:00
parent abed555528
commit 134c145b98
6 changed files with 22 additions and 23 deletions

View File

@@ -1215,7 +1215,6 @@ void CHillFortWindow::updateGarrisons()
for(int i=0; i<slotsCount; i++)
{
std::fill(costs[i].begin(), costs[i].end(), 0);
State newState = getState(SlotID(i));
if(newState != State::EMPTY)
{