diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-30 13:48:01 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-02 15:13:09 +0300 |
commit | d23b2c423e5811cf6e9de28cbf8490de32ea4fb5 (patch) | |
tree | 0240b530a05679dc6d629c414f59bf56588a93b2 /src/control/Phones.cpp | |
parent | a1c1be7af9f5ecee8f89db35b802a7874afc5c41 (diff) |
SetPosition, part 1
Diffstat (limited to 'src/control/Phones.cpp')
-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 15e9f9f1..27bdc010 100644 --- a/src/control/Phones.cpp +++ b/src/control/Phones.cpp @@ -301,7 +301,7 @@ CPhoneInfo::Initialise(void) if (building->m_modelIndex == MI_PHONEBOOTH1) { CPhone *maxPhone = &m_aPhones[m_nMax]; maxPhone->m_nState = PHONE_STATE_FREE; - maxPhone->m_vecPos = *(building->GetPosition()); + maxPhone->m_vecPos = building->GetPosition(); maxPhone->m_pEntity = building; m_nMax++; } |