mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-03-04 16:41:34 +00:00
Menu and haptic tweak
This commit is contained in:
parent
933b33d661
commit
837d3aa54a
3 changed files with 8 additions and 9 deletions
|
@ -4432,13 +4432,14 @@ AActor *P_LineAttack(AActor *t1, DAngle angle, double distance,
|
|||
// We need to preserve this info from the damage type because the actual damage type can get overridden by the puff
|
||||
pflag = DMG_PLAYERATTACK;
|
||||
|
||||
//Haptics
|
||||
long rightHanded = vr_control_scheme < 10;
|
||||
QzDoom_Vibrate(150, rightHanded ? 1 : 0, 0.8);
|
||||
if (weaponStabilised)
|
||||
{
|
||||
QzDoom_Vibrate(150, rightHanded ? 0 : 1, 0.6);
|
||||
}
|
||||
if ( damage > 0) {
|
||||
//Haptics
|
||||
long rightHanded = vr_control_scheme < 10;
|
||||
QzDoom_Vibrate(150, rightHanded ? 1 : 0, 0.8);
|
||||
if (weaponStabilised) {
|
||||
QzDoom_Vibrate(150, rightHanded ? 0 : 1, 0.6);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// [MC] If overriding, set it to the base of the actor.
|
||||
|
|
|
@ -341,8 +341,6 @@ OptionMenu "OptionsMenu" protected
|
|||
Submenu "VR Options", "VROptionsMenu"
|
||||
StaticText " "
|
||||
Submenu "$OPTMNU_CONTROLS", "CustomizeControls"
|
||||
Submenu "$OPTMNU_MOUSE", "MouseOptions"
|
||||
Submenu "$OPTMNU_JOYSTICK", "JoystickOptions"
|
||||
StaticText " "
|
||||
Submenu "$OPTMNU_PLAYER", "NewPlayerMenu"
|
||||
Submenu "$OPTMNU_GAMEPLAY", "GameplayOptions"
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue