summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 23:02:17 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 23:02:17 +0100
commit91c6389754204c7cc419cecb4b73d576106890c3 (patch)
tree99ee9b860a2739d0ffee7b5d88d8d50c0de4283d /src/vehicles
parentsync with re3 (diff)
parentUse original names (diff)
downloadre3-91c6389754204c7cc419cecb4b73d576106890c3.tar
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.gz
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.bz2
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.lz
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.xz
re3-91c6389754204c7cc419cecb4b73d576106890c3.tar.zst
re3-91c6389754204c7cc419cecb4b73d576106890c3.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index a946bacb..16d29b26 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -5616,7 +5616,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){
@@ -5636,7 +5636,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;
}