git repos / blockattack-game

commit 37c89302

sago007 · 2016-03-13 11:28
37c89302323eb6da810da866eb5717d6cd4778f9 patch · browse files
parent 8e3fb7e1913da5e45b52f612d644a614c0b97039

Removed calls without side effects

Changed files

M source/code/main.cpp before
diff --git a/source/code/main.cpp b/source/code/main.cpp index 614248e..3b8fc4a 100644 --- a/source/code/main.cpp +++ b/source/code/main.cpp
@@ -1219,10 +1219,6 @@ int PuzzleLevelSelect(int Type) {
if (Type == 0) {
LoadPuzzleStages();
}
-
- //Keeps track of background;
- SDL_GetTicks();
-
if (Type == 0) {
nrOfLevels = PuzzleGetNumberOfPuzzles();
}
@@ -1234,9 +1230,6 @@ int PuzzleLevelSelect(int Type) {
}
while (!levelSelected) {
- SDL_GetTicks();
-
-
DrawIMG(backgroundImage, screen, 0, 0);
DrawIMG(iCheckBoxArea,screen,xplace,yplace);
if (Type == 0) {