diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-01-17 18:52:24 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-01-17 18:52:24 +0000 |
commit | b47a43aa2866dbac7cc63b7a0f18d20b3b38883d (patch) | |
tree | d8bf3cc0b3c1c296e0cfd5ede1790968c4ce475f /apps/plugins/doom/g_game.c | |
parent | 3b65fc2480929ade2686bb7ee3413a0f78f7c36a (diff) |
Doom for the Gigabeat and some code reduction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12051 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/g_game.c')
-rw-r--r-- | apps/plugins/doom/g_game.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/g_game.c b/apps/plugins/doom/g_game.c index cd6ab45ade..8b5e222082 100644 --- a/apps/plugins/doom/g_game.c +++ b/apps/plugins/doom/g_game.c @@ -2773,11 +2773,11 @@ boolean G_CheckDemoStatus (void) int fd=open(GAMEBASE "timedemo.txt",O_WRONLY | O_CREAT); fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second", (unsigned) gametic, realtics, - (unsigned) gametic * (double) TICRATE / realtics); + (unsigned) gametic * TICRATE/ realtics); close(fd); I_Error ("%d gametics in %d realtics", (unsigned) gametic,realtics, - (unsigned) gametic * (double) TICRATE / realtics); + (unsigned) gametic * TICRATE / realtics); return false; } |