commit 2de0b212
Prevent the final chunk from getting played when the game starts
git-svn-id: https://blockattack.svn.sourceforge.net/svnroot/blockattack/trunk@67 9d7177f8-192b-0410-8f35-a16a89829b06
Changed files
| M | source/code/BlockGame.hpp before |
diff --git a/source/code/BlockGame.hpp b/source/code/BlockGame.hpp
index 2630b4e..6ec85a9 100644
--- a/source/code/BlockGame.hpp
+++ b/source/code/BlockGame.hpp
@@ -157,6 +157,7 @@ public:
}
theReplay = Replay();
showGame = true; //The game is now active
+ lastCounter = -1; //To prevent the final chunk to be played when stating the program
} //Constructor
//Deconstructor, never really used... game used to crash when called, cause of the way sBoard was created