script fixes

This commit is contained in:
Nikolay Korolev
2021-01-20 12:12:26 +03:00
parent dac4dd560a
commit aa0f77043c
8 changed files with 12 additions and 14 deletions

View File

@@ -568,16 +568,13 @@ public:
return;
}
}
else if (m_nAndOrState >= ORS_1 && m_nAndOrState <= ORS_8) {
else {
m_bCondResult |= flag;
if (m_nAndOrState == ORS_1) {
if (m_nAndOrState <= ORS_1) {
m_nAndOrState = ANDOR_NONE;
return;
}
}
else {
return;
}
m_nAndOrState--;
}
int16 GetPadState(uint16, uint16);