diff options
Diffstat (limited to 'apps/plugins/doom/g_game.c')
-rw-r--r-- | apps/plugins/doom/g_game.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/doom/g_game.c b/apps/plugins/doom/g_game.c index f970b66b5a..8aab9fc3cf 100644 --- a/apps/plugins/doom/g_game.c +++ b/apps/plugins/doom/g_game.c | |||
@@ -2770,7 +2770,7 @@ boolean G_CheckDemoStatus (void) | |||
2770 | int endtime = I_GetTime (); | 2770 | int endtime = I_GetTime (); |
2771 | // killough -- added fps information and made it work for longer demos: | 2771 | // killough -- added fps information and made it work for longer demos: |
2772 | unsigned realtics = endtime-starttime; | 2772 | unsigned realtics = endtime-starttime; |
2773 | int fd=open(GAMEBASE "timedemo.txt",O_WRONLY | O_CREAT); | 2773 | int fd=open(GAMEBASE "timedemo.txt",O_WRONLY | O_CREAT,0666); |
2774 | fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second", | 2774 | fdprintf (fd,"Timed %d gametics in %d realtics = %d frames per second", |
2775 | (unsigned) gametic, realtics, | 2775 | (unsigned) gametic, realtics, |
2776 | (unsigned) gametic * TICRATE/ realtics); | 2776 | (unsigned) gametic * TICRATE/ realtics); |