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:
@@ -51,8 +51,8 @@ CScriptPlatform::CScriptPlatform(
|
||||
CMaterialList(EMaterialTypes::Solid),
|
||||
CMaterialList(EMaterialTypes::NoStaticCollision, EMaterialTypes::NoPlatformCollision, EMaterialTypes::Platform)));
|
||||
xf8_24_movable = false;
|
||||
if (HasModelData() && ModelData()->HasAnimData())
|
||||
ModelData()->AnimationData()->EnableLooping(true);
|
||||
if (HasModelData() && GetModelData()->HasAnimData())
|
||||
GetModelData()->GetAnimationData()->EnableLooping(true);
|
||||
if (x304_treeGroupContainer)
|
||||
x314_treeGroup = std::make_unique<CCollidableOBBTreeGroup>(x304_treeGroupContainer->GetObj(), x68_material);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user