diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 13:48:35 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 13:48:35 +0200 |
commit | e9b334d7bf270682f83c5c18b2d85a25703c1a2d (patch) | |
tree | baa7ed00dedd2b09f99a2bb4958d2837ef6a8da6 /src/control/Phones.cpp | |
parent | SetPosition, final part (diff) | |
download | re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.gz re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.bz2 re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.lz re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.xz re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.tar.zst re3-e9b334d7bf270682f83c5c18b2d85a25703c1a2d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Phones.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Phones.cpp b/src/control/Phones.cpp index 27bdc010..136ef7db 100644 --- a/src/control/Phones.cpp +++ b/src/control/Phones.cpp @@ -298,7 +298,7 @@ CPhoneInfo::Initialise(void) for (int i = pool->GetSize() - 1; i >= 0; i--) { CBuilding *building = pool->GetSlot(i); if (building) { - if (building->m_modelIndex == MI_PHONEBOOTH1) { + if (building->GetModelIndex() == MI_PHONEBOOTH1) { CPhone *maxPhone = &m_aPhones[m_nMax]; maxPhone->m_nState = PHONE_STATE_FREE; maxPhone->m_vecPos = building->GetPosition(); |