- moved MarkPrecacheSounds completely to the script side and added native support to make this a usable feature.

This commit is contained in:
Christoph Oelckers 2018-11-25 07:43:05 +01:00
commit 7012179904
16 changed files with 76 additions and 65 deletions

View file

@ -833,16 +833,16 @@ void APlayerPawn::Serialize(FSerializer &arc)
//===========================================================================
//
// APlayerPawn :: MarkPrecacheSounds
// APlayerPawn :: MarkPlayerSounds
//
//===========================================================================
void APlayerPawn::MarkPrecacheSounds() const
DEFINE_ACTION_FUNCTION(APlayerPawn, MarkPlayerSounds)
{
Super::MarkPrecacheSounds();
S_MarkPlayerSounds(GetSoundClass());
PARAM_SELF_PROLOGUE(APlayerPawn);
S_MarkPlayerSounds(self->GetSoundClass());
return 0;
}
//===========================================================================
//
// APlayerPawn :: BeginPlay