mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 09:24:08 +00:00
More use of GetModelIndex
This commit is contained in:
parent
84c9484e55
commit
e9b334d7bf
20 changed files with 121 additions and 128 deletions
|
@ -229,7 +229,7 @@ CPickup::Update(CPlayerPed *player, CVehicle *vehicle, int playerId)
|
|||
if (m_eType == PICKUP_ON_STREET) {
|
||||
m_nTimer = CTimer::GetTimeInMilliseconds() + 30000;
|
||||
} else if (m_eType == PICKUP_ON_STREET_SLOW) {
|
||||
if (MI_PICKUP_BRIBE == m_pObject->m_modelIndex)
|
||||
if (MI_PICKUP_BRIBE == m_pObject->GetModelIndex())
|
||||
m_nTimer = CTimer::GetTimeInMilliseconds() + 300000;
|
||||
else
|
||||
m_nTimer = CTimer::GetTimeInMilliseconds() + 720000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue