From 8be8c7ca66384c8583a02b919b245e0674c86327 Mon Sep 17 00:00:00 2001 From: MiroslavR Date: Tue, 11 Oct 2016 02:47:03 +0200 Subject: [PATCH] OpenMW-CS: Fix verification of "Not Local" info conditions (Bug #3564) --- apps/opencs/model/world/infoselectwrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/opencs/model/world/infoselectwrapper.cpp b/apps/opencs/model/world/infoselectwrapper.cpp index d036b1965..3bc9bf4d2 100644 --- a/apps/opencs/model/world/infoselectwrapper.cpp +++ b/apps/opencs/model/world/infoselectwrapper.cpp @@ -371,7 +371,6 @@ void CSMWorld::ConstInfoSelectWrapper::updateComparisonType() case Function_NotClass: case Function_NotRace: case Function_NotCell: - case Function_NotLocal: case Function_PcExpelled: case Function_PcCommonDisease: case Function_PcBlightDisease: @@ -454,6 +453,7 @@ void CSMWorld::ConstInfoSelectWrapper::updateComparisonType() // Numeric case Function_Global: case Function_Local: + case Function_NotLocal: case Function_Health_Percent: case Function_PcHealthPercent: @@ -560,7 +560,6 @@ std::pair CSMWorld::ConstInfoSelectWrapper::getValidIntRange() const case Function_NotClass: case Function_NotRace: case Function_NotCell: - case Function_NotLocal: case Function_PcExpelled: case Function_PcCommonDisease: case Function_PcBlightDisease: @@ -657,6 +656,7 @@ std::pair CSMWorld::ConstInfoSelectWrapper::getValidIntRange() const // Numeric case Function_Global: case Function_Local: + case Function_NotLocal: return std::pair(IntMin, IntMax); case Function_PcMagicka: