This commit is contained in:
Paul 2001-06-14 22:03:03 +00:00
parent c08eb11972
commit 9b91b05433
2 changed files with 2 additions and 3 deletions

View File

@ -499,11 +499,9 @@ void CGameScene::initLevel()
/*****************************************************************************/ /*****************************************************************************/
int DropAmount=69;
int DropVel=1;
void CGameScene::dropHealth(DVECTOR &Pos,int Amount,int Vel) void CGameScene::dropHealth(DVECTOR &Pos,int Amount,int Vel)
{ {
m_HealthManager->drop(Pos,DropAmount,DropVel); m_HealthManager->drop(Pos,Amount,Vel);
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -1927,6 +1927,7 @@ void CPlayer::takeDamage(DAMAGE_TYPE _damage,REACT_DIRECTION _reactDirection,CTh
else else
{ {
// Launch all spatulas! // Launch all spatulas!
GameScene.dropHealth(Pos,m_numSpatulasHeld,1);
m_numSpatulasHeld=0; m_numSpatulasHeld=0;
} }
} }