summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/entities/Entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Entity.h b/src/entities/Entity.h
index dbe2c08b..78dae196 100644
--- a/src/entities/Entity.h
+++ b/src/entities/Entity.h
@@ -149,7 +149,7 @@ public:
bool GetIsOnScreenComplex(void);
bool IsVisible(void) { return m_rwObject && bIsVisible && GetIsOnScreen(); }
bool IsVisibleComplex(void) { return m_rwObject && bIsVisible && GetIsOnScreenComplex(); }
- int GetModelIndex(void) { return m_modelIndex; }
+ int16 GetModelIndex(void) const { return m_modelIndex; }
void UpdateRwFrame(void);
void SetupBigBuilding(void);