mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +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:
@@ -309,8 +309,8 @@ bool CActorModelParticles::CItem::UpdateIcePop(float dt, CActor* actor, CStateMa
|
||||
|
||||
bool CActorModelParticles::CItem::Update(float dt, CStateManager& mgr) {
|
||||
CActor* act = static_cast<CActor*>(mgr.ObjectById(x0_id));
|
||||
if (act && act->HasModelData() && !act->ModelData()->IsNull()) {
|
||||
xec_particleOffsetScale = act->ModelData()->GetScale();
|
||||
if (act && act->HasModelData() && !act->GetModelData()->IsNull()) {
|
||||
xec_particleOffsetScale = act->GetModelData()->GetScale();
|
||||
xf8_iceXf = act->GetTransform();
|
||||
x4_areaId = act->GetAreaIdAlways();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user