diff options
Diffstat (limited to 'tutorial/t12/cannon.cpp')
-rw-r--r-- | tutorial/t12/cannon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tutorial/t12/cannon.cpp b/tutorial/t12/cannon.cpp index 23f647233..50d2c3bd2 100644 --- a/tutorial/t12/cannon.cpp +++ b/tutorial/t12/cannon.cpp @@ -40,7 +40,7 @@ void CannonField::setAngle( int degrees ) if ( ang == degrees ) return; ang = degrees; - repaint( cannonRect(), FALSE ); + repaint( cannonRect(), false ); emit angleChanged( ang ); } @@ -69,9 +69,9 @@ void CannonField::shoot() void CannonField::newTarget() { - static bool first_time = TRUE; + static bool first_time = true; if ( first_time ) { - first_time = FALSE; + first_time = false; TQTime midnight( 0, 0, 0 ); srand( midnight.secsTo(TQTime::currentTime()) ); } |