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:
@@ -9,7 +9,7 @@ private:
|
||||
float xe8_pointSize;
|
||||
|
||||
public:
|
||||
CScriptPointOfInterest(TUniqueId, std::string_view, const CEntityInfo, const zeus::CTransform&, bool,
|
||||
CScriptPointOfInterest(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool,
|
||||
const CScannableParameters&, float);
|
||||
|
||||
void Accept(IVisitor& visitor) override;
|
||||
|
||||
Reference in New Issue
Block a user