- scriptified Oracle, Programmer and Rebels.

This commit is contained in:
Christoph Oelckers 2016-11-28 19:42:26 +01:00
commit 360cbfba2a
13 changed files with 233 additions and 314 deletions

View file

@ -1018,6 +1018,13 @@ AInventory *AActor::DropInventory (AInventory *item)
return drop;
}
DEFINE_ACTION_FUNCTION(AActor, DropInventory)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_OBJECT(item, AInventory);
ACTION_RETURN_OBJECT(self->DropInventory(item));
}
//============================================================================
//
// AActor :: FindInventory