summaryrefslogtreecommitdiffstats
path: root/src/control/Phones.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-07-22 17:21:39 +0200
committerGitHub <noreply@github.com>2020-07-22 17:21:39 +0200
commitb182fa4bb89a770d2e34da162eb46cdbaceb153b (patch)
treeb641e2e0a9dc0edddae8e09d04660c13936798c2 /src/control/Phones.cpp
parentREADME 64-bit preparation (diff)
parentPeds, Hud, CFO 1/2, fixes - including zone names (diff)
downloadre3-b182fa4bb89a770d2e34da162eb46cdbaceb153b.tar
re3-b182fa4bb89a770d2e34da162eb46cdbaceb153b.tar.gz
re3-b182fa4bb89a770d2e34da162eb46cdbaceb153b.tar.bz2
re3-b182fa4bb89a770d2e34da162eb46cdbaceb153b.tar.lz
re3-b182fa4bb89a770d2e34da162eb46cdbaceb153b.tar.xz
re3-b182fa4bb89a770d2e34da162eb46cdbaceb153b.tar.zst
re3-b182fa4bb89a770d2e34da162eb46cdbaceb153b.zip
Diffstat (limited to 'src/control/Phones.cpp')
-rw-r--r--src/control/Phones.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/control/Phones.cpp b/src/control/Phones.cpp
index 71f6c8e5..4f1703f2 100644
--- a/src/control/Phones.cpp
+++ b/src/control/Phones.cpp
@@ -284,7 +284,6 @@ CPhoneInfo::Initialise(void)
CBuilding *building = pool->GetSlot(i);
if (building) {
if (building->GetModelIndex() == MI_PHONEBOOTH1) {
- assert(m_nMax < ARRAY_SIZE(m_aPhones) && "NUMPHONES should be increased");
CPhone *maxPhone = &m_aPhones[m_nMax];
maxPhone->m_nState = PHONE_STATE_FREE;
maxPhone->m_vecPos = building->GetPosition();