Commit a57d3502 authored by Gerstrong's avatar Gerstrong

Better Pogo animation

parent 6fe93700
......@@ -121,7 +121,7 @@ void CObject::setupObjectType(int Episode)
case OBJ_TELEPORTER: sprite = OBJ_TELEPORTER_DEFSPRITE; break;
case OBJ_SECTOREFFECTOR: sprite = BLANKSPRITE; break;
case OBJ_GOTPOINTS: sprite = PT500_SPRITE; break;
default: sprite = BLANKSPRITE;
default: sprite = BLANKSPRITE; break;
}
}
......
......@@ -278,7 +278,7 @@ void CPlayerLevel::processPogo()
playSound( SOUND_KEEN_BUMPHEAD );
CObject::processFalling();
setAction(A_KEEN_POGO_UP);
setAction(A_KEEN_POGO_HIGH);
m_jumpheight = 0;
}
......@@ -299,14 +299,13 @@ void CPlayerLevel::processPogo()
if(m_playcontrol[PA_JUMP])
{
yinertia = POGO_START_INERTIA_MAX_VERT;
setAction(A_KEEN_POGO_HIGH);
}
else
{
yinertia = POGO_START_INERTIA_VERT;
setAction(A_KEEN_POGO_START);
}
setAction(A_KEEN_POGO_START);
m_jumpheight = 0;
playSound( SOUND_KEEN_POGO );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment