summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 22:58:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-05 22:58:51 +0000
commit7bc341f2c23935290a7382ca22cfe6fd473a8a17 (patch)
tree9966ddabb2a84564d55f095f55e6c127122d49e5 /src/main.cpp
parentd74c64eac0505477d3364ce7aac45f9edb1d95a1 (diff)
downloadmana-7bc341f2c23935290a7382ca22cfe6fd473a8a17.tar.gz
mana-7bc341f2c23935290a7382ca22cfe6fd473a8a17.tar.bz2
mana-7bc341f2c23935290a7382ca22cfe6fd473a8a17.tar.xz
mana-7bc341f2c23935290a7382ca22cfe6fd473a8a17.zip
Updated configure.ac, small fix to framerate limiter, added mohawk to changes.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 4 insertions, 1 deletions
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;
}