mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2025-04-24 16:18:51 +00:00
Update Common.cpp
This commit is contained in:
parent
6082f9ebc8
commit
c4d661b630
1 changed files with 3 additions and 1 deletions
|
@ -2287,7 +2287,9 @@ void idCommonLocal::Vibrate(int channel, float low, float high)
|
|||
|
||||
void idCommonLocal::HapticEvent(const char* event, int position, int flags, int intensity, float angle, float yHeight )
|
||||
{
|
||||
Doom3Quest_HapticEvent(event, position, flags, intensity, angle, yHeight);
|
||||
if (cvarSystem->GetCVarBool("vr_bhaptics")) {
|
||||
Doom3Quest_HapticEvent(event, position, flags, intensity, angle, yHeight);
|
||||
}
|
||||
}
|
||||
|
||||
void idCommonLocal::HapticStopEvent(const char* event)
|
||||
|
|
Loading…
Reference in a new issue