diff options
author | withmorten <morten.with@gmail.com> | 2021-01-14 23:16:42 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-14 23:16:42 +0100 |
commit | d5ce8b1ea3359ad5518e724e32a76ba32be1586b (patch) | |
tree | b4e48a02501378e10008853e61379449c69c0a1d /src/core/Frontend.cpp | |
parent | incoming "fuck" commit (diff) | |
download | re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.gz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.bz2 re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.lz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.xz re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.zst re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.zip |
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r-- | src/core/Frontend.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index d14f15d4..98344b6d 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -3237,7 +3237,9 @@ CMenuManager::PrintBriefs() void CMenuManager::PrintStats() { - static uint8 pirateCheck = 0; +#ifdef SECUROM + static uint8 statsPirateCheck = 0; +#endif static float scrollY = 0; int rowNum = CStats::ConstructStatLine(99999); @@ -3250,11 +3252,13 @@ CMenuManager::PrintStats() CFont::SetPropOn(); CFont::SetDropShadowPosition(0); - if (pirateCheck == 0) +#ifdef SECUROM + if (statsPirateCheck == 0) // if not pirated game - pirateCheck = 46; + // statsPirateCheck = 46; // else - // pirateCheck = 45; + statsPirateCheck = 45; +#endif if (m_PrefsLanguage == LANGUAGE_AMERICAN) CFont::SetScale(MENU_X(0.43f), MENU_Y(0.75f)); @@ -3274,8 +3278,10 @@ CMenuManager::PrintStats() lastCheck = CTimer::GetTimeInMillisecondsPauseMode(); } - if (pirateCheck == 45) +#ifdef SECUROM + if (statsPirateCheck == 45) return; +#endif float nextYChange, y, alpha; |