style cleanup:
also fix for building ghost test and fix double free in one of the tests
This commit is contained in:
@@ -191,7 +191,8 @@ bool SCA_JoystickSensor::Evaluate()
|
||||
if (( m_bAllEvents && js->aAnyButtonPressIsPositive()) || (!m_bAllEvents && js->aButtonPressIsPositive(m_button))) {
|
||||
m_istrig = 1;
|
||||
result = true;
|
||||
}else {
|
||||
}
|
||||
else {
|
||||
if (m_istrig) {
|
||||
m_istrig = 0;
|
||||
result = true;
|
||||
|
||||
Reference in New Issue
Block a user