[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegames/kbreakout/src
From: Frederik Schwarzer <schwarzerf () gmail ! com>
Date: 2011-03-31 2:18:03
Message-ID: 20110331021803.9B740AC8CD () svn ! kde ! org
[Download RAW message or body]
SVN commit 1226611 by schwarzer:
Remove useless loop.
The reason for it to be here was a secont timer that existed once.
Now both timers are merged for quite some time and the problems with
running timer when no ball is moving (player /away) are solved elsewhere.
M +0 -9 gameengine.cpp
--- trunk/KDE/kdegames/kbreakout/src/gameengine.cpp #1226610:1226611
@@ -112,15 +112,6 @@
m_elapsedTimeTimer.start();
m_gameTimer.start();
- // only restart the m_gameTimer if there are objects moving
- bool movingObjects = false;
- foreach (Ball *ball, m_balls) {
- if (!ball->toBeFired) {
- movingObjects = true;
- continue;
- }
- }
-
hideMessage();
emit gameResumed();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic