1
0
Fork 0
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:
Fire-Head 2020-08-27 20:27:28 +03:00
parent a38702a7d2
commit 210c7b8785
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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 )