- MBF21: splash group.

This commit is contained in:
Christoph Oelckers 2021-06-29 17:47:52 +02:00
commit 0bb5ec0d22
3 changed files with 29 additions and 0 deletions

View file

@ -1051,6 +1051,19 @@ DEFINE_PROPERTY(projectilegroup, I, Actor)
info->ActorInfo()->projectile_group = i;
}
//==========================================================================
// MBF21
//==========================================================================
DEFINE_PROPERTY(splashgroup, I, Actor)
{
PROP_INT_PARM(i, 0);
if (i < 0)
{
I_Error("Splash groups must be >= 0.");
}
info->ActorInfo()->splash_group = i;
}
//==========================================================================
// [BB]
//==========================================================================