summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-09-27 02:35:15 +0200
committerRoman Masanin <36927roma@gmail.com>2020-09-27 02:35:15 +0200
commitf67275be138d087106ad05c241a3cda9ca2d0373 (patch)
tree7da69e1fae07e96a9c078cd9ade69ba41ee0c87a /src/render
parentprocessEngineDamage (diff)
downloadre3-f67275be138d087106ad05c241a3cda9ca2d0373.tar
re3-f67275be138d087106ad05c241a3cda9ca2d0373.tar.gz
re3-f67275be138d087106ad05c241a3cda9ca2d0373.tar.bz2
re3-f67275be138d087106ad05c241a3cda9ca2d0373.tar.lz
re3-f67275be138d087106ad05c241a3cda9ca2d0373.tar.xz
re3-f67275be138d087106ad05c241a3cda9ca2d0373.tar.zst
re3-f67275be138d087106ad05c241a3cda9ca2d0373.zip
Diffstat (limited to '')
-rw-r--r--src/render/Fluff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Fluff.h b/src/render/Fluff.h
index 460c12a8..d600def7 100644
--- a/src/render/Fluff.h
+++ b/src/render/Fluff.h
@@ -104,7 +104,7 @@ public:
void SwitchOff(void);
void AddThisOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, bool b_isMovingDown);
bool IsActive() { return m_bIsActive; };
- CVector GetPosition() { return m_midPoint; };
+ const CVector& GetPosition() const { return m_midPoint; };
};
class CEscalators
@@ -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 CEscalator& GetEscalator(int ind) { return aEscalators[ind]; };
};
class CMovingThing