More use of GetModelIndex

This commit is contained in:
Sergeanur 2020-05-05 14:48:35 +03:00
commit e9b334d7bf
20 changed files with 121 additions and 128 deletions

View file

@ -58,7 +58,7 @@ cMusicManager::PlayerInCar()
if (FindPlayerVehicle()->GetStatus() == STATUS_WRECKED)
return false;
switch(FindPlayerVehicle()->m_modelIndex) {
switch (FindPlayerVehicle()->GetModelIndex()) {
case MI_FIRETRUCK:
case MI_AMBULAN:
case MI_MRWHOOP: