From affb80811f075d2cc40e58a1cdaffdc124147bb7 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 23 Aug 2007 00:26:28 +0000 Subject: [PATCH] Bugfix for r1218: code would not compile without bullet. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1221 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/kart.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kart.cpp b/src/kart.cpp index ae3344db5..cecb729a5 100644 --- a/src/kart.cpp +++ b/src/kart.cpp @@ -132,7 +132,9 @@ Kart::Kart (const KartProperties* kartProperties_, int position_ , m_prev_accel = 0.0f; m_wheelie_angle = 0.0f; m_current_friction = 1.0f; +#ifdef BULLET m_time_since_stuck = 0.0f; +#endif m_smokepuff = NULL; m_smoke_system = NULL; m_exhaust_pipe = NULL;