This commit is contained in:
parent
c08eb11972
commit
9b91b05433
@ -499,11 +499,9 @@ void CGameScene::initLevel()
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
int DropAmount=69;
|
||||
int DropVel=1;
|
||||
void CGameScene::dropHealth(DVECTOR &Pos,int Amount,int Vel)
|
||||
{
|
||||
m_HealthManager->drop(Pos,DropAmount,DropVel);
|
||||
m_HealthManager->drop(Pos,Amount,Vel);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -1927,6 +1927,7 @@ void CPlayer::takeDamage(DAMAGE_TYPE _damage,REACT_DIRECTION _reactDirection,CTh
|
||||
else
|
||||
{
|
||||
// Launch all spatulas!
|
||||
GameScene.dropHealth(Pos,m_numSpatulasHeld,1);
|
||||
m_numSpatulasHeld=0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user