1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Remove unused or set-but-not-read variables

This commit is contained in:
Michał Janiszewski
2016-09-07 12:39:29 +00:00
committed by Ted John
parent a48976cc6b
commit 163e314379
22 changed files with 12 additions and 99 deletions

View File

@@ -849,12 +849,8 @@ extern "C"
windowTheme = &desc->DefaultTheme;
}
bool transparent = false;
for (int i = 0; i < 6; i++) {
window->colours[i] = windowTheme->Colours[i];
if (windowTheme->Colours[i] & COLOUR_FLAG_TRANSLUCENT) {
transparent = true;
}
}
// Some windows need to be transparent even if the colours aren't.
// There doesn't seem to be any side-effects for all windows being transparent