summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-22 21:58:57 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-22 21:58:57 +0100
commit0ea72af60c3b24e6ef256bff739fadf4c93b9078 (patch)
tree515dcebc56c23355ec6ef9da6bfd652fdc4ec632 /src/control
parentNo more resetting bindings for joypad, create .ini at the first start, joystick hotplug for Linux (diff)
downloadre3-0ea72af60c3b24e6ef256bff739fadf4c93b9078.tar
re3-0ea72af60c3b24e6ef256bff739fadf4c93b9078.tar.gz
re3-0ea72af60c3b24e6ef256bff739fadf4c93b9078.tar.bz2
re3-0ea72af60c3b24e6ef256bff739fadf4c93b9078.tar.lz
re3-0ea72af60c3b24e6ef256bff739fadf4c93b9078.tar.xz
re3-0ea72af60c3b24e6ef256bff739fadf4c93b9078.tar.zst
re3-0ea72af60c3b24e6ef256bff739fadf4c93b9078.zip
Diffstat (limited to 'src/control')
-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 4769559c..f649d435 100644
--- a/src/control/Phones.cpp
+++ b/src/control/Phones.cpp
@@ -40,7 +40,6 @@ bool
isPhoneAvailable(int m_phoneId)
{
return crimeReporters[m_phoneId] == nil || !crimeReporters[m_phoneId]->IsPointerValid() || crimeReporters[m_phoneId]->m_objective > OBJECTIVE_WAIT_ON_FOOT ||
- crimeReporters[m_phoneId]->m_nLastPedState != PED_SEEK_POS &&
(crimeReporters[m_phoneId]->m_nPedState != PED_MAKE_CALL && crimeReporters[m_phoneId]->m_nPedState != PED_FACE_PHONE && crimeReporters[m_phoneId]->m_nPedState != PED_SEEK_POS);
}
#endif