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;
|
||||
currentWeapon = IdentifyWeapon();
|
||||
|
||||
//if ( isPlayerFlashlight || hand != vr_weaponHand.GetInteger())
|
||||
if (isPlayerFlashlight)
|
||||
if ( isPlayerFlashlight || (hand != vr_weaponHand.GetInteger() && owner->hands[hand].idealWeapon != owner->weapon_pda))
|
||||
{
|
||||
viewWeaponOrigin = playerViewOrigin;
|
||||
viewWeaponAxis = playerViewAxis;
|
||||
|
|
Loading…
Reference in a new issue