git repos / blockattack-game

commit 12f2640c

sago007 · 2011-01-01 16:48
12f2640cbf6f47b0e7e8117479f7b3181ed7af55 patch · browse files
parent 1df281513d126d07fb185776dffebd96bd8773c3

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;