- Precache PickupSound, UpSound, and ReadySound.

SVN r3842 (trunk)
This commit is contained in:
Randy Heit 2012-08-22 23:51:23 +00:00
commit 39ff34645f
3 changed files with 27 additions and 0 deletions

View file

@ -459,6 +459,18 @@ void AInventory::Serialize (FArchive &arc)
arc << Owner << Amount << MaxAmount << RespawnTics << ItemFlags << Icon << PickupSound << SpawnPointClass;
}
//===========================================================================
//
// AInventory :: MarkPrecacheSounds
//
//===========================================================================
void AInventory::MarkPrecacheSounds() const
{
Super::MarkPrecacheSounds();
PickupSound.MarkUsed();
}
//===========================================================================
//
// AInventory :: SpecialDropAction