diff --git a/apps/openmw/mwrender/mwscene.cpp b/apps/openmw/mwrender/mwscene.cpp index 6fab00850..5117f7eb8 100644 --- a/apps/openmw/mwrender/mwscene.cpp +++ b/apps/openmw/mwrender/mwscene.cpp @@ -63,7 +63,6 @@ MWScene::~MWScene() std::pair MWScene::getFacedHandle (MWWorld::World& world) { std::string handle = ""; - float distance = -1; //get a ray pointing to the center of the viewport Ray centerRay = getCamera()->getCameraToViewportRay(