summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-08 23:43:56 +0100
committeraap <aap@papnet.eu>2021-01-08 23:43:56 +0100
commit14a5144de7c70831b2e3d0fc07c6a89c49caaa06 (patch)
treeee8bc32e8efde413f6d6fbde58340e6454e4ff3f /src/vehicles
parentanims done. ped fight hacked to compile (diff)
parentAdd Relocatable Chunk stubs (diff)
downloadre3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.gz
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.bz2
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.lz
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.xz
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.tar.zst
re3-14a5144de7c70831b2e3d0fc07c6a89c49caaa06.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;
}