Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
af1ceeee09
commit
a998641ae7
@ -92,7 +92,7 @@ bool CheckLine::isTriggered(const Vec3 &old_pos, const Vec3 &new_pos, int indx)
|
|||||||
// checklines are a bit off in Z direction.
|
// checklines are a bit off in Z direction.
|
||||||
result = new_pos.getY()-m_min_height<4.0f &&
|
result = new_pos.getY()-m_min_height<4.0f &&
|
||||||
new_pos.getY()-m_min_height>-1.0f;
|
new_pos.getY()-m_min_height>-1.0f;
|
||||||
if(UserConfigParams::m_check_debug && !result)
|
if(UserConfigParams::m_check_debug && !result)
|
||||||
{
|
{
|
||||||
printf("CHECK: Kart %s crosses line, but wrong height (%f vs %f).\n",
|
printf("CHECK: Kart %s crosses line, but wrong height (%f vs %f).\n",
|
||||||
World::getWorld()->getKart(indx)->getIdent().c_str(),
|
World::getWorld()->getKart(indx)->getIdent().c_str(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user