mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
reformat: remove redundant parentheses
This commit is contained in:
@@ -888,10 +888,9 @@ command_relay::post(user_command const Command, double const Param1, double cons
|
||||
Recipient = simulation::Train->id();
|
||||
}
|
||||
|
||||
if( ( command.target == command_target::vehicle )
|
||||
&& ( true == FreeFlyModeFlag )
|
||||
&& ( ( false == DebugModeFlag )
|
||||
&& ( true == Global.RealisticControlMode ) ) ) {
|
||||
if( command.target == command_target::vehicle
|
||||
&& true == FreeFlyModeFlag
|
||||
&& false == DebugModeFlag && true == Global.RealisticControlMode ) {
|
||||
// in realistic control mode don't pass vehicle commands if the user isn't in one, unless we're in debug mode
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user