mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
ResourceSet: composition
This commit is contained in:
@@ -1460,7 +1460,7 @@ void CHillFortWindow::updateGarrisons()
|
||||
|
||||
for(int i=0; i<slotsCount; i++)
|
||||
{
|
||||
costs[i].fill(0);
|
||||
std::fill(costs[i].begin(), costs[i].end(), 0);
|
||||
int newState = getState(SlotID(i));
|
||||
if(newState != -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user