summaryrefslogtreecommitdiff
path: root/src/entities
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-05 14:48:35 +0300
committerSergeanur <s.anureev@yandex.ua>2020-05-05 14:48:35 +0300
commite9b334d7bf270682f83c5c18b2d85a25703c1a2d (patch)
treebaa7ed00dedd2b09f99a2bb4958d2837ef6a8da6 /src/entities
parent84c9484e55874c57c1c017cb2394e0c6b2f32303 (diff)
More use of GetModelIndex
Diffstat (limited to 'src/entities')
-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);