Removed debug printf statement, removed global variables (which I swear was only done

to avoid a complete recompile, since the laptop's battery were nearly empty).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2010-04-21 00:16:43 +00:00
parent f1fd38cbf3
commit c6127dc0f6
3 changed files with 6 additions and 6 deletions

View File

@@ -24,9 +24,6 @@
#include "tracks/track.hpp"
#include "utils/constants.hpp"
Vec3 m_add_rotation;
Vec3 m_curr_rotation;
/** The constructor stores a pointer to the kart this object is animating,
* and initialised the timer.
* \param kart Pointer to the kart which is animated.

View File

@@ -40,8 +40,12 @@ private:
/** The coordinates where the kart was hit originally. */
Vec3 m_xyz;
/** The rotation of the kart at the time of the explosion. */
Vec3 m_hpr;
/** The kart's current rotation. */
Vec3 m_curr_rotation;
/** The artificial rotation to toss the kart around. It's in units
* of rotation per second. */
Vec3 m_add_rotation;
/** The upwards velocity. */
float m_up_velocity;

View File

@@ -633,7 +633,6 @@ void Kart::handleExplosion(const Vec3& pos, bool direct_hit)
int sign_bits = rand(); // To select plus or minus randomnly, assuming 15 bit at least
if(direct_hit)
{
printf("he: ");
ExplosionAnimation::handleExplosion(pos, direct_hit);
m_kart_mode = KM_EXPLOSION;
// Play associated kart sound