From 2c90654401aff4de56c057130fb9e917c2721b86 Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 30 May 2012 09:21:41 +0200 Subject: [PATCH] fix a typo that caused a crash when trying to disable an already disabled object --- apps/openmw/mwworld/refdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/refdata.cpp b/apps/openmw/mwworld/refdata.cpp index 528f49c33..e1c14b907 100644 --- a/apps/openmw/mwworld/refdata.cpp +++ b/apps/openmw/mwworld/refdata.cpp @@ -123,7 +123,7 @@ namespace MWWorld void RefData::disable() { - mEnabled = true; + mEnabled = false; } ESM::Position& RefData::getPosition()