mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-12-17 23:30:48 +00:00
Fixed Flashlight punching
This commit is contained in:
parent
2d8e321f13
commit
03d171694a
1 changed files with 1 additions and 2 deletions
|
@ -2582,8 +2582,7 @@ void idWeapon::PresentWeapon( bool showViewModel, int hand ) {
|
||||||
weapon_t currentWeapon = WEAPON_NONE;
|
weapon_t currentWeapon = WEAPON_NONE;
|
||||||
currentWeapon = IdentifyWeapon();
|
currentWeapon = IdentifyWeapon();
|
||||||
|
|
||||||
//if ( isPlayerFlashlight || hand != vr_weaponHand.GetInteger())
|
if ( isPlayerFlashlight || (hand != vr_weaponHand.GetInteger() && owner->hands[hand].idealWeapon != owner->weapon_pda))
|
||||||
if (isPlayerFlashlight)
|
|
||||||
{
|
{
|
||||||
viewWeaponOrigin = playerViewOrigin;
|
viewWeaponOrigin = playerViewOrigin;
|
||||||
viewWeaponAxis = playerViewAxis;
|
viewWeaponAxis = playerViewAxis;
|
||||||
|
|
Loading…
Reference in a new issue