From c9fcaff607219fe62bcae45c2d49adee75d24bbe Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 29 Jan 2010 09:55:14 +0000 Subject: =?UTF-8?q?fix=20for=20error=20spotted=20by=20J=C3=A9r=C3=B4me=20L?= =?UTF-8?q?elong?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/gameengine/Physics/Bullet/CcdPhysicsController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp b/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp index 41842e977bb..5eb3dee70e4 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp +++ b/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp @@ -592,7 +592,7 @@ bool CcdPhysicsController::ReplaceControllerShape(btCollisionShape *newShape) for(int i= 0; i < obarr.size(); i++) { ob= obarr[i]; - if (ob->getCollisionShape() == newShape); { + if (ob->getCollisionShape() == newShape) { proxy = obarr[i]->getBroadphaseHandle(); if(proxy) -- cgit v1.2.3