diff options
Diffstat (limited to 'tutorial/t13/cannon.cpp')
-rw-r--r-- | tutorial/t13/cannon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/t13/cannon.cpp b/tutorial/t13/cannon.cpp index f97ddd2fe..85a038f0c 100644 --- a/tutorial/t13/cannon.cpp +++ b/tutorial/t13/cannon.cpp @@ -206,7 +206,7 @@ TQRect CannonField::shotRect() const double y = y0 + vely*time - 0.5*gravity*time*time; TQRect r = TQRect( 0, 0, 6, 6 ); - r.moveCenter( TQPoint( qRound(x), height() - 1 - qRound(y) ) ); + r.moveCenter( TQPoint( tqRound(x), height() - 1 - tqRound(y) ) ); return r; } |