Fixed compiler warnings (and potential memory issues)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2009-06-29 23:56:26 +00:00
parent fc52b751b6
commit d9f3a197cc
5 changed files with 7 additions and 2 deletions

View File

@@ -21,4 +21,4 @@
void AnimationBase::update(float dt)
{
} // float dt
} // float dt

View File

@@ -43,6 +43,8 @@ private:
public:
AnimationBase() {}
virtual ~AnimationBase(){}
virtual void update(float dt);

View File

@@ -31,6 +31,8 @@ private:
public:
BillboardAnimation(const XMLNode &node);
virtual ~BillboardAnimation(){}
}; // BillboardAnimation

View File

@@ -31,6 +31,7 @@ private:
public:
ThreeDAnimation(const XMLNode &node);
virtual ~ThreeDAnimation(){}
}; // ThreeDAnimation
#endif

View File

@@ -37,7 +37,7 @@ private:
scene::IParticleEmitter *m_emitter;
public:
Nitro (Kart* kart);
~Nitro ();
virtual ~Nitro ();
virtual void update (float t);
void setCreationRate(float f);
};