mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Runtime: Make const/non-const getters have the same name
Makes for a more consistent interface, as getters won't have different names to remember based off whether or not they're const qualified.
This commit is contained in:
@@ -101,7 +101,7 @@ void CScriptGenerator::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sende
|
||||
}
|
||||
|
||||
float rnd = stateMgr.GetActiveRandom()->Range(x48_minScale, x4c_maxScale);
|
||||
CModelData* mData = activateActor->ModelData();
|
||||
CModelData* mData = activateActor->GetModelData();
|
||||
if (mData && !mData->IsNull())
|
||||
mData->SetScale(rnd * mData->GetScale());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user