From 7fffb0b6302618049a35e6bacf0aeed70a47d8aa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 25 Feb 2009 12:07:51 +0000 Subject: Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID. Now Sumo is has been deprecated for a while we might want to remove it for 2.5. --- source/gameengine/Ketsji/KX_TouchSensor.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/gameengine/Ketsji/KX_TouchSensor.cpp') diff --git a/source/gameengine/Ketsji/KX_TouchSensor.cpp b/source/gameengine/Ketsji/KX_TouchSensor.cpp index 117adb44742..0b4d66dbb34 100644 --- a/source/gameengine/Ketsji/KX_TouchSensor.cpp +++ b/source/gameengine/Ketsji/KX_TouchSensor.cpp @@ -34,7 +34,9 @@ #include "SCA_LogicManager.h" #include "KX_GameObject.h" #include "KX_TouchEventManager.h" -#include "KX_SumoPhysicsController.h" + +#include "PHY_IPhysicsController.h" + #include #include "PHY_IPhysicsEnvironment.h" @@ -214,7 +216,7 @@ bool KX_TouchSensor::NewHandleCollision(void*object1,void*object2,const PHY_Coll } } - return DT_CONTINUE; + return false; // was DT_CONTINUE but this was defined in sumo as false. } -- cgit v1.2.3