forked from rosebudai/OpenRCT2-Web
Simplify boolean expresions
This commit is contained in:
1 parent
9af568d97c
commit
6833da77e3
25 files changed
+52
-100
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user