- MBF21: splash group.
This commit is contained in:
parent
cc801a7efa
commit
0bb5ec0d22
3 changed files with 29 additions and 0 deletions
|
|
@ -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]
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue