1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-14 10:21:09 +00:00

Issue #219: added missing implemented for isInverted function

This commit is contained in:
Marc Zinnschlag 2012-11-08 17:29:10 +01:00
parent f5972a3080
commit 235397dde8

View File

@ -53,7 +53,9 @@ MWDialogue::SelectWrapper::Type MWDialogue::SelectWrapper::getType() const
bool MWDialogue::SelectWrapper::IsInverted() const
{
return false;
char type = mSelect.mSelectRule[1];
return type=='7' || type=='8' || type=='9' || type=='A' || type=='B' || type=='C';
}
bool MWDialogue::SelectWrapper::selectCompare (int value) const