mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2024-11-10 15:01:48 +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))
|
if (P_CheckMissileSpawn (MissileActor, source->radius))
|
||||||
{
|
{
|
||||||
//Could be the Brutal Doom flashlight!
|
//Could be the Brutal Doom flashlight!
|
||||||
if (MissileActor->DamageType.GetIndex() != 0)
|
if (MissileActor->DamageFunc != nullptr)
|
||||||
{
|
{
|
||||||
//Haptics
|
//Haptics
|
||||||
long rightHanded = vr_control_scheme < 10;
|
long rightHanded = vr_control_scheme < 10;
|
||||||
|
|
|
@ -117,6 +117,7 @@ import android.support.v4.content.ContextCompat;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
finish();
|
||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,6 +128,7 @@ import android.support.v4.content.ContextCompat;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
finish();
|
||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue