I could go up by fours if flakeCounter is declared as a pointer - int* instead of int.
Otherwise... do you move or remove the rock after you find a collision? If not, then you may have the same collision again on the next frame and your flakeCounter will increase very quickly, maybe too quickly for you to see.
__________________

Free Games!
|