1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 07:45:36 +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