summaryrefslogtreecommitdiffstats
path: root/src/control/OnscreenTimer.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-02-01 17:40:54 +0100
committerSergeanur <s.anureev@yandex.ua>2020-02-01 17:40:54 +0100
commit3d69148497d9d6415b2a67348fac4531a5952adf (patch)
tree870248f43478e8f768271f41672b3de4d6f58e92 /src/control/OnscreenTimer.cpp
parentFix damage bar assert crash (diff)
downloadre3-3d69148497d9d6415b2a67348fac4531a5952adf.tar
re3-3d69148497d9d6415b2a67348fac4531a5952adf.tar.gz
re3-3d69148497d9d6415b2a67348fac4531a5952adf.tar.bz2
re3-3d69148497d9d6415b2a67348fac4531a5952adf.tar.lz
re3-3d69148497d9d6415b2a67348fac4531a5952adf.tar.xz
re3-3d69148497d9d6415b2a67348fac4531a5952adf.tar.zst
re3-3d69148497d9d6415b2a67348fac4531a5952adf.zip
Diffstat (limited to '')
-rw-r--r--src/control/OnscreenTimer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/OnscreenTimer.cpp b/src/control/OnscreenTimer.cpp
index 12aa2923..1677df06 100644
--- a/src/control/OnscreenTimer.cpp
+++ b/src/control/OnscreenTimer.cpp
@@ -19,7 +19,7 @@ void COnscreenTimer::Init() {
m_sEntries[i].m_aCounterText[j] = 0;
}
- m_sEntries[i].m_nType = 0;
+ m_sEntries[i].m_nType = COUNTER_DISPLAY_NUMBER;
m_sEntries[i].m_bTimerProcessed = 0;
m_sEntries[i].m_bCounterProcessed = 0;
}
@@ -49,7 +49,7 @@ void COnscreenTimer::ClearCounter(uint32 offset) {
if(offset == m_sEntries[i].m_nCounterOffset) {
m_sEntries[i].m_nCounterOffset = 0;
m_sEntries[i].m_aCounterText[0] = 0;
- m_sEntries[i].m_nType = 0;
+ m_sEntries[i].m_nType = COUNTER_DISPLAY_NUMBER;
m_sEntries[i].m_bCounterProcessed = 0;
}
}