This commit is contained in:
Charles 2001-06-06 19:07:19 +00:00
parent e04f52731f
commit 9e55dc3eb2
2 changed files with 17 additions and 0 deletions

View file

@ -183,6 +183,7 @@ void CBasePickup::collidedWith(CThing *_thisThing)
switch(_thisThing->getThingType())
{
case TYPE_PLAYER:
case TYPE_NPC:
collect((CPlayer*)_thisThing);
CSoundMediator::playSfx(sfxToPlayWhenCollected());
break;