fixed compiler warning

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2009-07-03 17:17:10 +00:00
parent ec86727813
commit 55a282c829
3 changed files with 4 additions and 3 deletions

View File

@@ -38,4 +38,4 @@ void BillboardAnimation::update(float dt)
core::vector3df hpr(0, 0, 0);
AnimationBase::update(dt, &xyz, &hpr);
} // update
} // update

View File

@@ -120,6 +120,7 @@ void Ipo::update(float dt, core::vector3df *xyz, core::vector3df *hpr)
case Ipo::IPO_ROTX : hpr->X = get(); break;
case Ipo::IPO_ROTY : hpr->Y = get(); break;
case Ipo::IPO_ROTZ : hpr->Z = get(); break;
default: assert(false); // shut up compiler warning
} // switch
} // update

View File

@@ -44,7 +44,7 @@ ThreeDAnimation::ThreeDAnimation(const std::string &track_name,
m_mesh = irr_driver->getAnimatedMesh(full_path);
if(!m_mesh)
{
fprintf(stderr, "Warning: animated model '%s' not found, aborting.\n",
fprintf(stderr, "Warning: node '%s' animated model '%s' not found, aborting.\n",
node.getName().c_str(), model_name.c_str());
exit(-1);
}
@@ -136,4 +136,4 @@ void ThreeDAnimation::update(float dt)
btTransform trans(q,p);
m_motion_state->setWorldTransform(trans);
}
} // update
} // update