diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-11-30 22:01:17 +0300 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-11-30 22:01:17 +0300 |
commit | 74915ee43951584e3a90dafb5d3bcbce92684b1a (patch) | |
tree | 378999d0a4339cd9d25e16a25ac32378ffc7aea5 /source/gameengine/Converter/BL_BlenderDataConversion.cpp | |
parent | a2bcb21ec75167f09c7868d9a18688a3ff423cdd (diff) |
removed (int) cast, should fix 64bit issue in recent commit
Diffstat (limited to 'source/gameengine/Converter/BL_BlenderDataConversion.cpp')
-rw-r--r-- | source/gameengine/Converter/BL_BlenderDataConversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.cpp b/source/gameengine/Converter/BL_BlenderDataConversion.cpp index de20789235d..30ff522a26d 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.cpp +++ b/source/gameengine/Converter/BL_BlenderDataConversion.cpp @@ -1907,8 +1907,8 @@ void BL_ConvertBlenderObjects(struct Main* maggie, if (dat->tar) if (!dat->child){ KX_GameObject *gotar=getGameOb(dat->tar->id.name,sumolist); - PHY_IPhysicsController* physctrl = (PHY_IPhysicsController*) (int)gameobj->GetPhysicsController()->GetUserData(); - PHY_IPhysicsController* physctr2 = (PHY_IPhysicsController*) (int)gotar->GetPhysicsController()->GetUserData(); + PHY_IPhysicsController* physctrl = (PHY_IPhysicsController*) gameobj->GetPhysicsController()->GetUserData(); + PHY_IPhysicsController* physctr2 = (PHY_IPhysicsController*) gotar->GetPhysicsController()->GetUserData(); kxscene->GetPhysicsEnvironment()->createConstraint(physctrl,physctr2,(PHY_ConstraintType)dat->type,(float)dat->pivX,(float)dat->pivY,(float)dat->pivZ,(float)dat->axX,(float)dat->axY,(float)dat->axZ); /*switch(dat->type){ case CONSTRAINT_RB_BALL: |