Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID.
[blender-staging.git] / source / gameengine / Ketsji / KX_TouchSensor.cpp
index 117adb4474260b5067ec97fea53d6756edd1ff95..0b4d66dbb3444704c542a4663fa08f5edd989a6d 100644 (file)
@@ -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 <iostream>
 #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.
 }