2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

World/CScript*: Pass by reference over by value

Based off the use of the const, it's likely that these were intended to
be references, rather than be copied by value
This commit is contained in:
Lioncash
2019-09-06 10:49:51 -04:00
parent fea7984f71
commit 2c6aed7033
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
namespace urde {
CScriptPointOfInterest::CScriptPointOfInterest(TUniqueId uid, std::string_view name, const CEntityInfo info,
CScriptPointOfInterest::CScriptPointOfInterest(TUniqueId uid, std::string_view name, const CEntityInfo& info,
const zeus::CTransform& xf, bool active,
const CScannableParameters& parms, float f1)
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), CMaterialList(u64(EMaterialTypes::Orbit)),