mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-03-04 08:31:49 +00:00
Haptic feedback working with Meatgrinder mod
This commit is contained in:
parent
1085c1cf73
commit
00baa9cd7a
2 changed files with 3 additions and 1 deletions
|
@ -6842,7 +6842,7 @@ AActor *P_SpawnPlayerMissile (AActor *source, double x, double y, double z,
|
|||
if (P_CheckMissileSpawn (MissileActor, source->radius))
|
||||
{
|
||||
//Could be the Brutal Doom flashlight!
|
||||
if (MissileActor->DamageType.GetIndex() != 0)
|
||||
if (MissileActor->DamageFunc != nullptr)
|
||||
{
|
||||
//Haptics
|
||||
long rightHanded = vr_control_scheme < 10;
|
||||
|
|
|
@ -117,6 +117,7 @@ import android.support.v4.content.ContextCompat;
|
|||
}
|
||||
else
|
||||
{
|
||||
finish();
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
@ -127,6 +128,7 @@ import android.support.v4.content.ContextCompat;
|
|||
}
|
||||
else
|
||||
{
|
||||
finish();
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue