summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-08 20:53:42 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-08 20:53:42 +0100
commitaf09cb06f5c148f16c1bd1b5f20e766a15abe8c4 (patch)
tree0260b5d6504e05b1e6f009015638c7ef0115ca5f /src/vehicles
parentCKeyGen (diff)
parentUse original names (diff)
downloadre3-af09cb06f5c148f16c1bd1b5f20e766a15abe8c4.tar
re3-af09cb06f5c148f16c1bd1b5f20e766a15abe8c4.tar.gz
re3-af09cb06f5c148f16c1bd1b5f20e766a15abe8c4.tar.bz2
re3-af09cb06f5c148f16c1bd1b5f20e766a15abe8c4.tar.lz
re3-af09cb06f5c148f16c1bd1b5f20e766a15abe8c4.tar.xz
re3-af09cb06f5c148f16c1bd1b5f20e766a15abe8c4.tar.zst
re3-af09cb06f5c148f16c1bd1b5f20e766a15abe8c4.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 028cd9cd..accaace2 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -5615,7 +5615,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){
@@ -5635,7 +5635,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;
}