mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
CObjectList: Make IsQualified() a const member function
None of the implementations modify object instance state, so this can be made const qualified.
This commit is contained in:
@@ -80,7 +80,7 @@ public:
|
||||
CEntity* GetValidObjectById(TUniqueId uid);
|
||||
s16 GetFirstObjectIndex() const { return x2008_firstId; }
|
||||
s16 GetNextObjectIndex(s16 prev) const { return x0_list[prev].next; }
|
||||
virtual bool IsQualified(const CEntity&);
|
||||
virtual bool IsQualified(const CEntity&) const;
|
||||
u16 size() const { return x200a_count; }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user