mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-28 20:36:40 +00:00
Revert "Calls directly MovementSolver::traceDown instead of"
This reverts commit c1e50f530b
.
This commit is contained in:
parent
ee1ec53cd9
commit
de9ee2f196
1 changed files with 2 additions and 1 deletions
|
@ -713,7 +713,8 @@ namespace MWPhysics
|
|||
auto actor = std::make_shared<Actor>(ptr, shape, mTaskScheduler.get(), canWaterWalk);
|
||||
|
||||
// check if Actor is on the ground or in the air
|
||||
MovementSolver::traceDown(ptr, ptr.getRefData().getPosition().asVec3(), actor.get(), mCollisionWorld.get(), 10);
|
||||
traceDown(ptr, ptr.getRefData().getPosition().asVec3(), 10.f);
|
||||
|
||||
mActors.emplace(ptr, std::move(actor));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue