mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 02:39:01 +00:00
bike shooting fix + trace temp fix
This commit is contained in:
parent
a38702a7d2
commit
210c7b8785
2 changed files with 5 additions and 2 deletions
|
@ -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