mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 08:30:35 +00:00
CPedModelInfo and CTempColModels
This commit is contained in:
parent
1bee2caf5c
commit
a202e67349
12 changed files with 219 additions and 65 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue