From 7bc341f2c23935290a7382ca22cfe6fd473a8a17 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 5 Jun 2005 22:58:51 +0000 Subject: Updated configure.ac, small fix to framerate limiter, added mohawk to changes. --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 9759d047..5b8f4244 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -84,7 +84,10 @@ ItemManager *itemDb; /**< Item database object */ */ Uint32 nextFrame(Uint32 interval, void *param) { - framesToDraw++; + if (framesToDraw < 10) + { + framesToDraw++; + } return interval; } -- cgit v1.2.3-70-g09d2