Hi everyone. I did some tests and the code below generates bombs at the correct intervals. I played my game and realized that my attacker runs out of bombs for some reason after playing my game for a long period of time. Am I doing something wrong? I have the same code for the other attackers but they can get destroyed and this one not yet -- they seem to be fine.

[pascal] if((FTamaCount<300) and (FCounter-FOldTamaTime>=150)) then
begin
Bomb := TBomb.create(FormGame.DXSpriteEngine.Engine);
Bomb.OnCollision := formGame.BombCollision;
FTamaCount := fTamaCount+1*updatespeed;
FOldTamaTime := FCounter;
end;
FCounter := FCounter + UpdateSpeed; [/pascal]
Any suggestions?