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:
committed by
Ted John
parent
a48976cc6b
commit
163e314379
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user