diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/Placeable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Placeable.h b/src/core/Placeable.h index d39bb0d9..7e858283 100644 --- a/src/core/Placeable.h +++ b/src/core/Placeable.h @@ -10,7 +10,7 @@ public: CPlaceable(void); virtual ~CPlaceable(void); - CVector &GetPosition(void) { return m_matrix.GetPosition(); } + const CVector &GetPosition(void) { return m_matrix.GetPosition(); } void SetPosition(float x, float y, float z) { m_matrix.GetPosition().x = x; m_matrix.GetPosition().y = y; |