diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-27 03:22:59 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-27 03:22:59 +0200 |
commit | b956be0f44930fe1d764c07e680f7cee47c1587a (patch) | |
tree | 42f30e3ff2f159f2b2a7ff21fe374a1b11350828 /src/render | |
parent | correction of defects and another two audio functions (diff) | |
download | re3-b956be0f44930fe1d764c07e680f7cee47c1587a.tar re3-b956be0f44930fe1d764c07e680f7cee47c1587a.tar.gz re3-b956be0f44930fe1d764c07e680f7cee47c1587a.tar.bz2 re3-b956be0f44930fe1d764c07e680f7cee47c1587a.tar.lz re3-b956be0f44930fe1d764c07e680f7cee47c1587a.tar.xz re3-b956be0f44930fe1d764c07e680f7cee47c1587a.tar.zst re3-b956be0f44930fe1d764c07e680f7cee47c1587a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/render/Fluff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Fluff.h b/src/render/Fluff.h index d600def7..a6a28cb7 100644 --- a/src/render/Fluff.h +++ b/src/render/Fluff.h @@ -103,7 +103,7 @@ public: void Update(void); void SwitchOff(void); void AddThisOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, bool b_isMovingDown); - bool IsActive() { return m_bIsActive; }; + bool IsActive() const { return m_bIsActive; }; const CVector& GetPosition() const { return m_midPoint; }; }; @@ -116,7 +116,7 @@ public: static void Update(void); static void AddOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, bool b_isMovingDown); static void Shutdown(void); - static CEscalator& GetEscalator(int ind) { return aEscalators[ind]; }; + static const CEscalator& GetEscalator(int ind) { return aEscalators[ind]; }; }; class CMovingThing |