From 4fe03a8923654cb76b56f550893bbacbb5492511 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Wed, 22 Jan 2003 03:09:30 +0000 Subject: [PATCH] Looks like the two definitions were inside constructors duh.... So I'm reverting. Kent --- source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp | 1 + source/gameengine/Ketsji/KX_GameActuator.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp index a12b93cca80..a6e7daadb2c 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp @@ -416,6 +416,7 @@ void KX_ConvertODEEngineObject(KX_GameObject* gameobj, physicscontroller->setClientInfo(gameobj); gameobj->GetSGNode()->AddSGController(physicscontroller); + bool isActor = objprop->m_isactor; STR_String materialname; if (meshobj) materialname = meshobj->GetMaterialName(0); diff --git a/source/gameengine/Ketsji/KX_GameActuator.cpp b/source/gameengine/Ketsji/KX_GameActuator.cpp index 8d136441b84..b3e50359224 100644 --- a/source/gameengine/Ketsji/KX_GameActuator.cpp +++ b/source/gameengine/Ketsji/KX_GameActuator.cpp @@ -85,6 +85,7 @@ CValue* KX_GameActuator::GetReplica() bool KX_GameActuator::Update(double curtime, double deltatime) { + bool result = false; bool bNegativeEvent = IsNegativeEvent(); RemoveAllEvents();