Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
bike shooting fix + trace temp fix
  • Loading branch information
Fire-Head committed Aug 27, 2020
1 parent a38702a commit 210c7b8785779a621f608540571513efcca1021a
Showing with 5 additions and 2 deletions.
  1. +4 −1 src/render/SpecialFX.h
  2. +1 −1 src/weapons/Weapon.cpp
@@ -60,7 +60,10 @@ class CBulletTraces

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

0 comments on commit 210c7b8

Please sign in to comment.