git repos / blockattack-game

commit 2de0b212

sago007 · 2009-03-06 21:51
2de0b212acbdb5c37ddac6dc860b1bbb5ae98794 patch · browse files
parent 215ca7b3db9b3452f5163ec579c9f9b4777d7377

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