summaryrefslogtreecommitdiff
path: root/src/control/OnscreenTimer.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-02-01 17:22:56 +0200
committerSergeanur <s.anureev@yandex.ua>2020-02-01 17:22:56 +0200
commite2f8ad983d83b09b8ec12d87ff946c6387b5ffc6 (patch)
treeefa664a4845f9c193b75e9805226d0095e560370 /src/control/OnscreenTimer.cpp
parent6e73d9220adb726ecc75e75080ccdb8c8fb2bc1c (diff)
Fix damage bar assert crash
Diffstat (limited to 'src/control/OnscreenTimer.cpp')
-rw-r--r--src/control/OnscreenTimer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/control/OnscreenTimer.cpp b/src/control/OnscreenTimer.cpp
index 489d8077..12aa2923 100644
--- a/src/control/OnscreenTimer.cpp
+++ b/src/control/OnscreenTimer.cpp
@@ -151,9 +151,6 @@ void COnscreenTimerEntry::ProcessForDisplayClock() {
void COnscreenTimerEntry::ProcessForDisplayCounter() {
uint32 counter = *(uint32*)&CTheScripts::ScriptSpace[m_nCounterOffset];
-
- assert(!m_nType || counter <= 100);
-
sprintf(m_bCounterBuffer, "%d", counter);
}