- scriptified ASoundSequence.

- exported virtual Actor.MarkPrecacheSounds function.
This commit is contained in:
Christoph Oelckers 2017-01-14 14:35:11 +01:00
parent 0b62645a35
commit 96777273c4
8 changed files with 180 additions and 197 deletions

View file

@ -4832,6 +4832,13 @@ void AActor::MarkPrecacheSounds() const
CrushPainSound.MarkUsed();
}
DEFINE_ACTION_FUNCTION(AActor, MarkPrecacheSounds)
{
PARAM_SELF_PROLOGUE(AActor);
self->MarkPrecacheSounds();
return 0;
}
bool AActor::isFast()
{
if (flags5&MF5_ALWAYSFAST) return true;