1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

integrate screen variables

This commit is contained in:
Ted John
2016-04-23 11:16:46 +01:00
parent 1950fad315
commit 4cdb2df9dc
43 changed files with 261 additions and 249 deletions

View File

@@ -110,7 +110,7 @@ namespace Twitch
static bool IsTwitchEnabled()
{
if (!gTwitchEnable) return false;
if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & (~SCREEN_FLAGS_PLAYING)) return false;
if (gScreenFlags & (~SCREEN_FLAGS_PLAYING)) return false;
if (String::IsNullOrEmpty(gConfigTwitch.channel)) return false;
return true;
}