diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:35 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:35 +0100 |
commit | 39a121351de14f193f2f4efcbaef368d80ccfba9 (patch) | |
tree | 7fa767968e8e838b68894ff21c284c5f6c9338dc /src/vehicles | |
parent | .ini for scaling, radar, sprites (diff) | |
parent | Use original names (diff) | |
download | re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.gz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.bz2 re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.lz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.xz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.zst re3-39a121351de14f193f2f4efcbaef368d80ccfba9.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Automobile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 753b853d..8f034126 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -4582,7 +4582,7 @@ CAutomobile::SetBumperDamage(int32 component, ePanels panel, bool noFlyingCompon int status = Damage.GetPanelStatus(panel); if(m_aCarNodes[component] == nil){ printf("Trying to damage component %d of %s\n", - component, CModelInfo::GetModelInfo(GetModelIndex())->GetName()); + component, CModelInfo::GetModelInfo(GetModelIndex())->GetModelName()); return; } if(status == PANEL_STATUS_SMASHED1){ @@ -4602,7 +4602,7 @@ CAutomobile::SetDoorDamage(int32 component, eDoors door, bool noFlyingComponents int status = Damage.GetDoorStatus(door); if(m_aCarNodes[component] == nil){ printf("Trying to damage component %d of %s\n", - component, CModelInfo::GetModelInfo(GetModelIndex())->GetName()); + component, CModelInfo::GetModelInfo(GetModelIndex())->GetModelName()); return; } |