summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
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;
}