forgot speeders without max speed

This commit is contained in:
Speedy Consoles 2010-10-31 17:37:30 +01:00
parent 47baea0e62
commit 7f26212ce2

View file

@ -991,6 +991,9 @@ void CCharacter::HandleTiles(int Index)
else else
TempVel += Direction * SpeedLeft; TempVel += Direction * SpeedLeft;
} }
else
TempVel += Direction * Force;
m_Core.m_Vel = TempVel; m_Core.m_Vel = TempVel;
//dbg_msg("speedup tile end","(Direction*Force) %f %f m_Core.m_Vel%f %f",(Direction*Force).x,(Direction*Force).y,m_Core.m_Vel.x,m_Core.m_Vel.y); //dbg_msg("speedup tile end","(Direction*Force) %f %f m_Core.m_Vel%f %f",(Direction*Force).x,(Direction*Force).y,m_Core.m_Vel.x,m_Core.m_Vel.y);