- moved MarkPrecacheSounds completely to the script side and added native support to make this a usable feature.
This commit is contained in:
parent
8fa16b6c30
commit
7012179904
16 changed files with 76 additions and 65 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue