Partially revert BGE bug fix #8863: don't send keyboard sensor positive pulse on level, this would badly interfere with keyboard sensors controlling set scene/restart scene actuators. Only send negative pulse on level to stop actuators after scene suspend

This commit is contained in:
Benoit Bolsee
2008-05-02 15:47:08 +00:00
parent b846e7a3bf
commit f0a41d9d97
2 changed files with 17 additions and 8 deletions

View File

@@ -164,8 +164,10 @@ bool SCA_MouseSensor::Evaluate(CValue* event)
{
if (m_val == 0)
{
m_val = 1;
result = true;
//dangerous
//m_val = 1;
//result = true;
;
}
} else
{