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:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user