mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
maintenance: minor code touch ups
This commit is contained in:
@@ -134,8 +134,8 @@ bool TEventLauncher::check_conditions()
|
||||
// key and modifier
|
||||
auto const modifier = ( iKey & 0xff00 ) >> 8;
|
||||
bCond = ( Console::Pressed( iKey & 0xff ) )
|
||||
&& ( modifier & 1 ? Global::shiftState : true )
|
||||
&& ( modifier & 2 ? Global::ctrlState : true );
|
||||
&& ( ( modifier & 1 ) ? Global::shiftState : true )
|
||||
&& ( ( modifier & 2 ) ? Global::ctrlState : true );
|
||||
}
|
||||
else {
|
||||
// just key
|
||||
|
||||
Reference in New Issue
Block a user