BGE bug fix (good for 2.47): automatic detection that target object of AddObject...
[blender.git] / source / gameengine / Converter / KX_ConvertActuators.cpp
index 9aed5b1d51024429c5ad93ffd0c7b7a38df48722..1cc1b2e27a39af20c7f7eb80ad8c15e775716185 100644 (file)
@@ -539,7 +539,7 @@ void BL_ConvertActuators(char* maggiename,
                                                
                                                // does the 'original' for replication exists, and 
                                                // is it in a non-active layer ?
-                                               CValue* originalval = NULL;
+                                               SCA_IObject* originalval = NULL;
                                                if (editobact->ob && !(editobact->ob->lay & activeLayerBitInfo))
                                                        originalval = converter->FindGameObject(editobact->ob);