commit 12f2640c
Fixed a problem with repeating dong noices until starting a game
git-svn-id: https://blockattack.svn.sourceforge.net/svnroot/blockattack/trunk@107 9d7177f8-192b-0410-8f35-a16a89829b06
Changed files
| M | source/code/BlockGame.cpp before |
diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp
index d152ee7..3148b22 100644
--- a/source/code/BlockGame.cpp
+++ b/source/code/BlockGame.cpp
@@ -81,6 +81,7 @@
baseSpeed = 0.5; //All other speeds are relative to this
speed = baseSpeed;
speedLevel = 1;
+ ticks = 0;
gameStartedAt = ticks;
gameEndedAfter = 0;
pushedPixelAt = gameStartedAt;