Fixed more compiler warnings (and added a const).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-06-24 03:56:50 +00:00
parent cfb60ba114
commit 47f27a4ea9

View File

@ -59,7 +59,7 @@ KartGFX::KartGFX(const AbstractKart *kart)
-kart->getKartLength()*0.35f);
// FIXME Used to match the emitter as seen in blender
float delta = 0.6;
const float delta = 0.6f;
Vec3 rear_nitro_right(kart->getNitroEmitterPosition(0).toIrrVector().X,
kart->getNitroEmitterPosition(0).toIrrVector().Y,
kart->getNitroEmitterPosition(0).toIrrVector().Z + delta);