- moved AInventory::DoRespawn fully to the script side.

This commit is contained in:
Christoph Oelckers 2018-11-30 00:20:06 +01:00
commit bc1990b6d7
5 changed files with 31 additions and 32 deletions

View file

@ -368,6 +368,13 @@ ASpecialSpot *DSpotState::GetRandomSpot(PClassActor *type, bool onlyonce)
return NULL;
}
DEFINE_ACTION_FUNCTION(DSpotState, GetRandomSpot)
{
PARAM_SELF_PROLOGUE(DSpotState);
PARAM_CLASS(type, AActor);
PARAM_BOOL(onlyonce);
ACTION_RETURN_POINTER(self->GetRandomSpot(type, onlyonce));
}
//----------------------------------------------------------------------------
//