From d6bc50c492564fa100f577a621e9be6d5d8fbf56 Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 7 Sep 2014 02:41:27 +0200 Subject: [PATCH] Remove an unused member variable --- apps/openmw/mwgui/travelwindow.cpp | 1 - apps/openmw/mwgui/travelwindow.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/openmw/mwgui/travelwindow.cpp b/apps/openmw/mwgui/travelwindow.cpp index 9f3cc949d6..6a0c99b8a3 100644 --- a/apps/openmw/mwgui/travelwindow.cpp +++ b/apps/openmw/mwgui/travelwindow.cpp @@ -26,7 +26,6 @@ namespace MWGui TravelWindow::TravelWindow() : WindowBase("openmw_travel_window.layout") , mCurrentY(0) - , mLastPos(0) { setCoord(0, 0, 450, 300); diff --git a/apps/openmw/mwgui/travelwindow.hpp b/apps/openmw/mwgui/travelwindow.hpp index 4328f7ac28..3f19492562 100644 --- a/apps/openmw/mwgui/travelwindow.hpp +++ b/apps/openmw/mwgui/travelwindow.hpp @@ -39,7 +39,7 @@ namespace MWGui void onMouseWheel(MyGUI::Widget* _sender, int _rel); void addDestination(const std::string& name, ESM::Position pos, bool interior); void clearDestinations(); - int mLastPos,mCurrentY; + int mCurrentY; static const int sLineHeight;