mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-19 07:36:45 +00:00
allman style
This commit is contained in:
parent
9fc0649fb6
commit
40c989d732
1 changed files with 2 additions and 1 deletions
|
@ -449,7 +449,8 @@ namespace MWWorld
|
||||||
const auto player = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
const auto player = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
||||||
|
|
||||||
// By default the player is grounded, with the scene fully loaded, we validate and correct this.
|
// 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);
|
mPhysics->traceDown(player, player.getRefData().getPosition().asVec3(), 10.f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue