2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

CRelayTracker: Make HasRelay() a const member function

While we're at it, we can make use of HasRelay() internally where
applicable to simplify code a little bit.
This commit is contained in:
Lioncash
2020-03-18 01:03:32 -04:00
parent 6ddbd15cfc
commit cb4884fcef
2 changed files with 13 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ public:
CRelayTracker() = default;
CRelayTracker(CBitStreamReader&, const CSaveWorld&);
bool HasRelay(TEditorId);
bool HasRelay(TEditorId) const;
void AddRelay(TEditorId);
void RemoveRelay(TEditorId);
void SendMsgs(TAreaId, CStateManager&);