mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 17:00:01 +00:00
bike shooting fix + trace temp fix
This commit is contained in:
parent
a38702a7d2
commit
210c7b8785
|
@ -60,7 +60,10 @@ public:
|
|||
|
||||
//TODO(MIAMI)
|
||||
static void AddTrace(CVector *, CVector *, float, unsigned int, unsigned char) {}
|
||||
static void AddTrace(CVector *, CVector *, int32 weapontype, class CEntity *shooter) {}
|
||||
static void AddTrace(CVector *a, CVector *b, int32 weapontype, class CEntity *shooter)
|
||||
{
|
||||
AddTrace(a, b); //TODO: temp
|
||||
}
|
||||
};
|
||||
|
||||
enum
|
||||
|
|
|
@ -2412,7 +2412,7 @@ CWeapon::FireInstantHitFromCar(CVehicle *shooter, bool left, bool right)
|
|||
else if ( right )
|
||||
target = source + info->m_fRange * shooter->GetRight();
|
||||
else
|
||||
target = source + info->m_fRange * shooter->GetRight();
|
||||
target = source + info->m_fRange * shooter->GetForward();
|
||||
|
||||
}
|
||||
else if ( left )
|
||||
|
|
Loading…
Reference in a new issue