diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-05 22:58:51 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-05 22:58:51 +0000 |
commit | 7bc341f2c23935290a7382ca22cfe6fd473a8a17 (patch) | |
tree | 9966ddabb2a84564d55f095f55e6c127122d49e5 /src | |
parent | d74c64eac0505477d3364ce7aac45f9edb1d95a1 (diff) | |
download | Mana-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')
-rw-r--r-- | src/main.cpp | 5 |
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; } |