From 2a06d72e32b6fdcb6698d48a89b1703b736a74d7 Mon Sep 17 00:00:00 2001 From: greye Date: Thu, 8 Nov 2012 02:27:01 +0400 Subject: [PATCH] remove unused custom character classes --- apps/openmw/mwworld/worldimp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index e2122aa2d1..26013e4ffe 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -1260,6 +1260,7 @@ namespace MWWorld break; case Player::Data_Class: + mStore.get().erase(player->mClass); player->mClass = value; break;