mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fix comparison operator for char
This commit is contained in:
parent
aeb8aa8e55
commit
7b58fbec8a
1 changed files with 2 additions and 2 deletions
|
@ -2293,9 +2293,9 @@ void ScriptVariable::greaterthan(ScriptVariable& variable)
|
|||
m_data.intValue = m_data.floatValue > variable.m_data.intValue;
|
||||
break;
|
||||
|
||||
case VARIABLE_CHAR + VARIABLE_CHAR *VARIABLE_MAX: // ( char ) >= ( char )
|
||||
case VARIABLE_CHAR + VARIABLE_CHAR *VARIABLE_MAX: // ( char ) > ( char )
|
||||
type = VARIABLE_INTEGER;
|
||||
m_data.intValue = m_data.charValue >= variable.m_data.charValue;
|
||||
m_data.intValue = m_data.charValue > variable.m_data.charValue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue