mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 07:39:00 +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)
|
//TODO(MIAMI)
|
||||||
static void AddTrace(CVector *, CVector *, float, unsigned int, unsigned char) {}
|
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
|
enum
|
||||||
|
|
|
@ -2412,7 +2412,7 @@ CWeapon::FireInstantHitFromCar(CVehicle *shooter, bool left, bool right)
|
||||||
else if ( right )
|
else if ( right )
|
||||||
target = source + info->m_fRange * shooter->GetRight();
|
target = source + info->m_fRange * shooter->GetRight();
|
||||||
else
|
else
|
||||||
target = source + info->m_fRange * shooter->GetRight();
|
target = source + info->m_fRange * shooter->GetForward();
|
||||||
|
|
||||||
}
|
}
|
||||||
else if ( left )
|
else if ( left )
|
||||||
|
|
Loading…
Reference in a new issue