1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00

Remove some redundant casts and fix rct_sprite::AsDuck()

This commit is contained in:
Michael Steenbeek
2018-02-15 13:04:25 +01:00
committed by GitHub
parent c8c9bf70a7
commit d481cca2ed
15 changed files with 33 additions and 35 deletions

View File

@@ -138,8 +138,6 @@ static void window_track_place_clear_mini_preview()
std::fill(_window_track_place_mini_preview.begin(), _window_track_place_mini_preview.end(), PALETTE_INDEX_TRANSPARENT);
}
#define swap(x, y) x = x ^ y; y = x ^ y; x = x ^ y;
/**
*
* rct2: 0x006CFCA0