Loading t14/cannon.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ void CannonField::shoot() shoot_ang = ang; shoot_f = f; shooting = true; startTimer( 50 ); timerId = startTimer( 50 ); } void CannonField::newTarget() Loading Loading @@ -170,7 +170,7 @@ void CannonField::mouseReleaseEvent( QMouseEvent *e ) void CannonField::stopShooting() { shooting = false; killTimers(); killTimer(timerId); } void CannonField::paintShot( QPainter *p ) Loading t14/cannon.h +1 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ private: bool shooting; int timerCount; int timerId; float shoot_ang; float shoot_f; Loading Loading
t14/cannon.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ void CannonField::shoot() shoot_ang = ang; shoot_f = f; shooting = true; startTimer( 50 ); timerId = startTimer( 50 ); } void CannonField::newTarget() Loading Loading @@ -170,7 +170,7 @@ void CannonField::mouseReleaseEvent( QMouseEvent *e ) void CannonField::stopShooting() { shooting = false; killTimers(); killTimer(timerId); } void CannonField::paintShot( QPainter *p ) Loading
t14/cannon.h +1 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,7 @@ private: bool shooting; int timerCount; int timerId; float shoot_ang; float shoot_f; Loading