|
|
|
@ -246,6 +246,8 @@ hsBool plInputInterface::ProcessKeyBindings( plInputEventMsg *msg )
|
|
|
|
|
hsBool wasActive = IHasKeyControlFlag(binding->GetCode()); |
|
|
|
|
|
|
|
|
|
// Set or clear our flags, since we do that even if we don't send a message
|
|
|
|
|
if ( !keyMsg->GetKeyChar() ) |
|
|
|
|
{ |
|
|
|
|
if( activate ) |
|
|
|
|
{ |
|
|
|
|
ISetKeyControlFlag( binding->GetCode() ); |
|
|
|
@ -256,6 +258,7 @@ hsBool plInputInterface::ProcessKeyBindings( plInputEventMsg *msg )
|
|
|
|
|
IClearKeyControlFlag( binding->GetCode() ); |
|
|
|
|
fKeyControlsFrom2ndKeyFlags.SetBit( binding->GetCode(), 0 ); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Filter out codes that only want their activate messages sent (like console commands)
|
|
|
|
|
if( ( codeFlags & kControlFlagNoDeactivate ) && !activate ) |
|
|
|
|