1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Simplify boolean expresions

This commit is contained in:
Filip Gawin
2019-05-10 22:00:38 +02:00
committed by Michael Steenbeek
parent 9af568d97c
commit 6833da77e3
25 changed files with 52 additions and 100 deletions

View File

@@ -1436,7 +1436,7 @@ static int32_t cc_replay_stoprecord(InteractiveConsole& console, const arguments
}
auto* replayManager = OpenRCT2::GetContext()->GetReplayManager();
if (replayManager->IsRecording() == false && replayManager->IsNormalising() == false)
if (!replayManager->IsRecording() && !replayManager->IsNormalising())
{
console.WriteFormatLine("Replay currently not recording");
return 0;