1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +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

@@ -44,7 +44,7 @@ size_t sawyercoding_write_chunk_buffer(uint8_t* dst_file, const uint8_t* buffer,
{
uint8_t *encode_buffer, *encode_buffer2;
if (gUseRLE == false)
if (!gUseRLE)
{
if (chunkHeader.encoding == CHUNK_ENCODING_RLE || chunkHeader.encoding == CHUNK_ENCODING_RLECOMPRESSED)
{