mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +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:
@@ -22,7 +22,7 @@ class CScriptDock : public CPhysicsActor {
|
||||
};
|
||||
|
||||
public:
|
||||
CScriptDock(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CVector3f position,
|
||||
CScriptDock(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CVector3f& position,
|
||||
const zeus::CVector3f& extent, s32 dock, TAreaId area, bool active, s32 dockReferenceCount,
|
||||
bool loadConnected);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user