Fix integer issue with BricksCollected (#679)

This fixes an issue where BricksCollected goes to an insane number after selling more bricks than you collected in the area
This commit is contained in:
eddytronpie
2022-07-30 04:41:14 +01:00
committed by GitHub
parent 26ddeaa429
commit f80a26a944
2 changed files with 4 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
*/
struct ZoneStatistics {
uint64_t m_AchievementsCollected;
uint64_t m_BricksCollected;
int64_t m_BricksCollected;
uint64_t m_CoinsCollected;
uint64_t m_EnemiesSmashed;
uint64_t m_QuickBuildsCompleted;
@@ -431,7 +431,7 @@ private:
/**
* The total amount of bricks collected by this character
*/
uint64_t m_BricksCollected;
int64_t m_BricksCollected;
/**
* The total amount of entities smashed by this character