diff options
author | Kent Mein <mein@cs.umn.edu> | 2003-01-21 21:30:44 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2003-01-21 21:30:44 +0300 |
commit | b01847593532f8f7157b5d23a942d8f12455cbfc (patch) | |
tree | 3093c7eb80970743b4249dc113b239814f567f2e /source/gameengine | |
parent | 558b75b9d35306fad72e6e49206478fcdc6a9d3f (diff) |
Removed two local vars that were set and then never used.
(for example heres one: bool isActor = objprop->m_isactor;)
Kent
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp | 1 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_GameActuator.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp index a6e7daadb2c..a12b93cca80 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp @@ -416,7 +416,6 @@ 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 b3e50359224..8d136441b84 100644 --- a/source/gameengine/Ketsji/KX_GameActuator.cpp +++ b/source/gameengine/Ketsji/KX_GameActuator.cpp @@ -85,7 +85,6 @@ CValue* KX_GameActuator::GetReplica() bool KX_GameActuator::Update(double curtime, double deltatime) { - bool result = false; bool bNegativeEvent = IsNegativeEvent(); RemoveAllEvents(); |