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))
{
//Could be the Brutal Doom flashlight!
if (MissileActor->DamageType.GetIndex() != 0)
if (MissileActor->DamageFunc != nullptr)
{
//Haptics
long rightHanded = vr_control_scheme < 10;

View File

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