diff --git a/apps/openmw/mwworld/scene.cpp b/apps/openmw/mwworld/scene.cpp index 31d83dce3..140d69e6b 100644 --- a/apps/openmw/mwworld/scene.cpp +++ b/apps/openmw/mwworld/scene.cpp @@ -449,7 +449,7 @@ 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.getCell() == 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); }