diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 14:48:35 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 14:48:35 +0300 |
commit | e9b334d7bf270682f83c5c18b2d85a25703c1a2d (patch) | |
tree | baa7ed00dedd2b09f99a2bb4958d2837ef6a8da6 /src/audio/MusicManager.cpp | |
parent | 84c9484e55874c57c1c017cb2394e0c6b2f32303 (diff) |
More use of GetModelIndex
Diffstat (limited to 'src/audio/MusicManager.cpp')
-rw-r--r-- | src/audio/MusicManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/MusicManager.cpp b/src/audio/MusicManager.cpp index 5f6dc1c3..fd02691e 100644 --- a/src/audio/MusicManager.cpp +++ b/src/audio/MusicManager.cpp @@ -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: |