ubode try remove a legacy lock, that is nasty

This commit is contained in:
UbitUmarov
2019-01-21 01:43:35 +00:00
parent 3897774424
commit 81bb620d64
2 changed files with 6 additions and 4 deletions

View File

@@ -2665,7 +2665,7 @@ Console.WriteLine(" JointCreateFixed");
}
*/
SafeNativeMethods.AllocateODEDataForThread(0U);
SafeNativeMethods.AllocateODEDataForThread(0);
_position.X = Util.Clip(_position.X, 0.5f, _parent_scene.WorldExtents.X - 0.5f);
_position.Y = Util.Clip(_position.Y, 0.5f, _parent_scene.WorldExtents.Y - 0.5f);