This commit is contained in:
Charles 2001-06-08 14:05:48 +00:00
parent 01fca54fb1
commit 24dc221b50
3 changed files with 24 additions and 1 deletions

View file

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