summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-18 12:56:21 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-18 12:56:21 +0200
commit89688843ece0f6c9968f0f8b9b644d707b96d34a (patch)
treeaed6e50c2275fa46ddecb808b282222dbcc1561a /src/core
parentRevert "Part one" (diff)
downloadre3-89688843ece0f6c9968f0f8b9b644d707b96d34a.tar
re3-89688843ece0f6c9968f0f8b9b644d707b96d34a.tar.gz
re3-89688843ece0f6c9968f0f8b9b644d707b96d34a.tar.bz2
re3-89688843ece0f6c9968f0f8b9b644d707b96d34a.tar.lz
re3-89688843ece0f6c9968f0f8b9b644d707b96d34a.tar.xz
re3-89688843ece0f6c9968f0f8b9b644d707b96d34a.tar.zst
re3-89688843ece0f6c9968f0f8b9b644d707b96d34a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Frontend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index e9282c44..4dab8ae4 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -5470,7 +5470,8 @@ CMenuManager::ConstructStatLine(int rowIdx)
if (player.m_nTotalPackages != 0)
packagesPercent = player.m_nCollectedPackages * 100.0f / player.m_nTotalPackages;
- STAT_LINE("PERPIC", &packagesPercent, 0, &(nTemp = 100));
+ int nPackagesPercent = packagesPercent;
+ STAT_LINE("PERPIC", &nPackagesPercent, 0, &(nTemp = 100));
STAT_LINE("NOUNIF", &CStats::TotalNumberOfUniqueJumps, 0, &CStats::NumberOfUniqueJumpsFound);
STAT_LINE("DAYSPS", &CStats::DaysPassed, false, nil);
if (CGame::nastyGame) {