This commit is contained in:
parent
527093fc9a
commit
9dc97284a2
1 changed files with 11 additions and 0 deletions
|
@ -1962,6 +1962,7 @@ void CPlayer::calcCameraFocusPointTarget()
|
|||
---------------------------------------------------------------------- */
|
||||
void CPlayer::respawn()
|
||||
{
|
||||
// Set previous mode
|
||||
setMode(m_lastModeBeforeDeath);
|
||||
|
||||
m_allowConversation=false;
|
||||
|
@ -2003,6 +2004,16 @@ void CPlayer::respawn()
|
|||
m_pantFlashTimer=0;
|
||||
m_hasReceivedExtraLifeFor100Spats=false;
|
||||
|
||||
// Re-stock ammo if need be
|
||||
if(m_currentMode==PLAYER_MODE_BUBBLE_MIXTURE)
|
||||
{
|
||||
giveBubbleAmmoFromWeapon();
|
||||
}
|
||||
else if(m_currentMode==PLAYER_MODE_JELLY_LAUNCHER)
|
||||
{
|
||||
giveJellyAmmoFromWeapon();
|
||||
}
|
||||
|
||||
m_moveVelocity.vx=m_moveVelocity.vy=0;
|
||||
|
||||
clearPlatform();
|
||||
|
|
Loading…
Add table
Reference in a new issue