Codechange: use ReferenceThroughBaseContainer for containers that are index by CompanyID

This commit is contained in:
Rubidium
2025-02-10 18:03:01 +01:00
committed by rubidium42
parent 1ffc950e22
commit 5401ab1f7b
13 changed files with 23 additions and 20 deletions

View File

@@ -347,7 +347,7 @@ bool ScriptObject::DoCommandProcessResult(const CommandCost &res, Script_Suspend
}
/* static */ Randomizer ScriptObject::random_states[OWNER_END];
/* static */ ScriptObject::RandomizerArray ScriptObject::random_states;
Randomizer &ScriptObject::GetRandomizer(Owner owner)
{