This commit is contained in:
Paul 2001-06-18 21:26:51 +00:00
parent 0672dce0cf
commit aa16dc07f8

View File

@ -178,7 +178,6 @@ DVECTOR CQuestItemPickup::getSizeForPlacement()
---------------------------------------------------------------------- */
void CQuestItemPickup::collect(class CPlayer *_player)
{
_player->setCanExitLevelNow();
CBasePickup::collect(_player);
}
@ -198,6 +197,7 @@ void CQuestItemPickup::collidedWith(CThing *_thisThing)
// collect((CPlayer*)_thisThing);
CSoundMediator::playSfx(sfxToPlayWhenCollected());
m_collected=true;
((CPlayer*)_thisThing)->setCanExitLevelNow();
break;
case TYPE_NPC: