- fixed: bouncing sounds were limited to inventory items.

SVN r1623 (trunk)
This commit is contained in:
Christoph Oelckers 2009-05-30 23:08:29 +00:00
parent c0e398e7ac
commit 53899121bf

View file

@ -487,6 +487,24 @@ DEFINE_PROPERTY(attacksound, S, Actor)
defaults->AttackSound = str;
}
//==========================================================================
//
//==========================================================================
DEFINE_PROPERTY(bouncesound, S, Actor)
{
PROP_STRING_PARM(str, 0);
defaults->BounceSound = str;
}
//==========================================================================
//
//==========================================================================
DEFINE_PROPERTY(wallbouncesound, S, Actor)
{
PROP_STRING_PARM(str, 0);
defaults->WallBounceSound = str;
}
//==========================================================================
//
//==========================================================================
@ -1253,24 +1271,6 @@ DEFINE_CLASS_PROPERTY(usesound, S, Inventory)
defaults->UseSound = str;
}
//==========================================================================
//
//==========================================================================
DEFINE_CLASS_PROPERTY(bouncesound, S, Inventory)
{
PROP_STRING_PARM(str, 0);
defaults->BounceSound = str;
}
//==========================================================================
//
//==========================================================================
DEFINE_CLASS_PROPERTY(wallbouncesound, S, Inventory)
{
PROP_STRING_PARM(str, 0);
defaults->WallBounceSound = str;
}
//==========================================================================
//
//==========================================================================