Haptic feedback working with Meatgrinder mod

This commit is contained in:
Simon 2021-03-06 20:28:51 +00:00
parent 1085c1cf73
commit 00baa9cd7a
2 changed files with 3 additions and 1 deletions

View file

@ -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;

View file

@ -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);
} }
} }