mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-24 18:39:59 +00:00
Revert "Calls directly MovementSolver::traceDown instead of"
This reverts commit c1e50f530b6b7c229864b20ab26be284e3edec42.
This commit is contained in:
parent
ee1ec53cd9
commit
de9ee2f196
@ -713,7 +713,8 @@ namespace MWPhysics
|
|||||||
auto actor = std::make_shared<Actor>(ptr, shape, mTaskScheduler.get(), canWaterWalk);
|
auto actor = std::make_shared<Actor>(ptr, shape, mTaskScheduler.get(), canWaterWalk);
|
||||||
|
|
||||||
// check if Actor is on the ground or in the air
|
// 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));
|
mActors.emplace(ptr, std::move(actor));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user