summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 17:14:16 +0100
committeraap <aap@papnet.eu>2021-01-24 17:14:16 +0100
commita202e6734991060d921e22aff0358862530e47a4 (patch)
tree2fe352f839dcdc64c6d00d79d9ece2fa8185ef60 /src/weapons
parentCClumpModelInfo (diff)
downloadre3-a202e6734991060d921e22aff0358862530e47a4.tar
re3-a202e6734991060d921e22aff0358862530e47a4.tar.gz
re3-a202e6734991060d921e22aff0358862530e47a4.tar.bz2
re3-a202e6734991060d921e22aff0358862530e47a4.tar.lz
re3-a202e6734991060d921e22aff0358862530e47a4.tar.xz
re3-a202e6734991060d921e22aff0358862530e47a4.tar.zst
re3-a202e6734991060d921e22aff0358862530e47a4.zip
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/Weapon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp
index 1d12e548..78d21b0a 100644
--- a/src/weapons/Weapon.cpp
+++ b/src/weapons/Weapon.cpp
@@ -513,7 +513,7 @@ CWeapon::FireMelee(CEntity *shooter, CVector &fireSource)
if ( SQR(victimPedRadius) > (victimPedPos-fireSource).MagnitudeSqr() )
{
CVector collisionDist;
- CColModel* victimPedCol = &CTempColModels::ms_colModelPed1;
+ CColModel* victimPedCol = &gpTempColModels->ms_colModelPed1;
bool useLocalPos = false;
if (victimPed->m_nPedState == PED_FALL
|| victimPed->m_nPedState == PED_DIE && victimPed->bIsPedDieAnimPlaying