Looks like the two definitions were inside constructors duh....
authorKent Mein <mein@cs.umn.edu>
Wed, 22 Jan 2003 03:09:30 +0000 (03:09 +0000)
committerKent Mein <mein@cs.umn.edu>
Wed, 22 Jan 2003 03:09:30 +0000 (03:09 +0000)
So I'm reverting.

Kent

source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Ketsji/KX_GameActuator.cpp

index a12b93c..a6e7daa 100644 (file)
@@ -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);
index 8d13644..b3e5035 100644 (file)
@@ -85,6 +85,7 @@ CValue* KX_GameActuator::GetReplica()
 
 bool KX_GameActuator::Update(double curtime, double deltatime)
 {
+       bool result = false;    
        bool bNegativeEvent = IsNegativeEvent();
        RemoveAllEvents();