forked from mirror/openmw-tes3mp
Fix for Bullet debug assert
After changing the vector comparison to squaredDistance, the threshold for rejecting similar vectors needed to be readjusted.
This commit is contained in:
parent
cae0c4a044
commit
d0e1210dd7
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ namespace MWWorld
|
|||
continue; // velocity updated, calculate nextpos again
|
||||
}
|
||||
|
||||
if(newPosition.squaredDistance(nextpos) > 0.00000001*0.00000001)
|
||||
if(newPosition.squaredDistance(nextpos) > 0.0001)
|
||||
{
|
||||
// trace to where character would go if there were no obstructions
|
||||
tracer.doTrace(colobj, newPosition, nextpos, engine);
|
||||
|
|
Loading…
Reference in a new issue