[freespace2] unstable speed of game?
Christopher Thielen
chris at luethy.net
Mon Mar 10 00:46:26 EST 2003
On Sun, 2003-03-09 at 13:11, Jacek Popławski wrote:
> I think it must be a bug, SDL_GetTicks() works, at least better than no timing
> at all.
Okay, well, as long as the maintainers agree it's a bug and there's no
reason for it, here's a patch to fix it.
-------------- next part --------------
diff -ubr freespace2.old/src/io/timer.cpp freespace2.new/src/io/timer.cpp
--- freespace2.old/src/io/timer.cpp Sat Jun 8 21:41:22 2002
+++ freespace2.new/src/io/timer.cpp Sun Mar 9 21:44:53 2003
@@ -100,9 +100,7 @@
#include "2d.h"
#include "alphacolors.h"
-#ifndef NDEBUG
- #define USE_TIMING
-#endif
+#define USE_TIMING
#ifndef PLAT_UNIX
static longlong Timer_last_value, Timer_base;
More information about the freespace2
mailing list