From 40c989d732635633406de1b6d13d16156cb2052d Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Sun, 14 Mar 2021 22:11:18 +0100 Subject: [PATCH] allman style --- apps/openmw/mwworld/scene.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/scene.cpp b/apps/openmw/mwworld/scene.cpp index 140d69e6b..3f050ba36 100644 --- a/apps/openmw/mwworld/scene.cpp +++ b/apps/openmw/mwworld/scene.cpp @@ -449,7 +449,8 @@ namespace MWWorld const auto player = MWBase::Environment::get().getWorld()->getPlayerPtr(); // By default the player is grounded, with the scene fully loaded, we validate and correct this. - if (player.mCell == cell) { // Only run once, during initial cell load. + if (player.mCell == cell) // Only run once, during initial cell load. + { mPhysics->traceDown(player, player.getRefData().getPosition().asVec3(), 10.f); }