about summary refs log tree commit diff
path: root/src/game/client/components/scoreboard.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-13 10:41:10 +0100
committeroy <Tom_Adams@web.de>2011-03-13 10:41:10 +0100
commitbe8f669333b01e32465c515728fccabaa627bd37 (patch)
tree7d15faa5df6a9f7149d25c3b2e0fcb93c16dca8d /src/game/client/components/scoreboard.cpp
parenta04eb45354cfbdc32f92438400c11071ecf1bb6c (diff)
downloadzcatch-be8f669333b01e32465c515728fccabaa627bd37.tar.gz
zcatch-be8f669333b01e32465c515728fccabaa627bd37.zip
added extended demo infos in the demo browser
Diffstat (limited to 'src/game/client/components/scoreboard.cpp')
-rw-r--r--src/game/client/components/scoreboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp
index 95b620c4..c208cddc 100644
--- a/src/game/client/components/scoreboard.cpp
+++ b/src/game/client/components/scoreboard.cpp
@@ -270,7 +270,7 @@ void CScoreboard::RenderRecordingNotification(float x)
 
 	//draw the text
 	char aBuf[64];
-	int Seconds = m_pClient->DemoRecorder()->Length()/SERVER_TICK_SPEED;
+	int Seconds = m_pClient->DemoRecorder()->Length();
 	str_format(aBuf, sizeof(aBuf), Localize("REC %3d:%02d"), Seconds/60, Seconds%60);
 	TextRender()->Text(0, x+50.0f, 10.0f, 20.0f, aBuf, -1);
 }