diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index cb6f8b195..f84386ae4 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -1005,7 +1005,7 @@ namespace MWWorld return static_cast(mActivationDistanceOverride); static const int iMaxActivateDist = getStore().get().find("iMaxActivateDist")->getInt(); - return iMaxActivateDist * 5.f / 4.f; + return static_cast(iMaxActivateDist); } MWWorld::Ptr World::getFacedObject()