From 79c8f69b245f0bf503c933c15f62a58777f568ae Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 3 Apr 2016 20:23:28 +0200 Subject: [PATCH] Clear the class selected / race selected flags when starting a new game (Fixes #3326) --- apps/openmw/mwmechanics/mechanicsmanagerimp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp index ece0a2fbc..7810df279 100644 --- a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp +++ b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp @@ -1540,6 +1540,8 @@ namespace MWMechanics { mActors.clear(); mStolenItems.clear(); + mClassSelected = false; + mRaceSelected = false; } bool MechanicsManager::isAggressive(const MWWorld::Ptr &ptr, const MWWorld::Ptr &target)