From 0f447ac5a822500257cfdd18068339ddcc2ca40c Mon Sep 17 00:00:00 2001 From: Kester Maddock Date: Mon, 17 May 2004 08:31:35 +0000 Subject: Fix for MSVC .NET, which can't handle static const declarations in classes. Make it static, and define in SM_Object.cpp --- source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/gameengine/Physics/Sumo/Fuzzics/include') diff --git a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h index 571e1cf71cc..db7f5f07603 100644 --- a/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h +++ b/source/gameengine/Physics/Sumo/Fuzzics/include/SM_Object.h @@ -267,9 +267,7 @@ public: private: // Tweak parameters - static const MT_Scalar ImpulseThreshold = -10.; - static const MT_Scalar FixThreshold = 0.01; - static const MT_Scalar FixVelocity = 0.01; + static MT_Scalar ImpulseThreshold; // return the actual linear_velocity of this object this // is the addition of m_combined_lin_vel and m_lin_vel. -- cgit v1.2.3