2
0
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:
Lioncash
2020-03-06 04:36:24 -05:00
parent 2f9dd38bbe
commit 80e2e97dc4
4 changed files with 21 additions and 21 deletions

View File

@@ -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; }
};