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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user