diff options
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Converter/BL_BlenderDataConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.cpp b/source/gameengine/Converter/BL_BlenderDataConversion.cpp index 31616fdec15..4c596055495 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.cpp +++ b/source/gameengine/Converter/BL_BlenderDataConversion.cpp @@ -2572,7 +2572,7 @@ void BL_ConvertBlenderObjects(struct Main* maggie, if (dat->tar) { - KX_GameObject *gotar=getGameOb(dat->tar->id.name,sumolist); + KX_GameObject *gotar=getGameOb(dat->tar->id.name+2,sumolist); if (gotar && gotar->GetPhysicsController()) physctr2 = (PHY_IPhysicsController*) gotar->GetPhysicsController()->GetUserData(); } |