diff options
author | Stijn Buys <ingar@osirion.org> | 2011-05-11 14:48:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-05-11 14:48:17 +0000 |
commit | 1c63cbf204b1d2c667ce9f821ccb197d0ffb0ac3 (patch) | |
tree | c2d0ff7cc4a8a264657abd0ac99017a5b664ecd2 /src/game/base/ship.h | |
parent | bb0f860989f84b901f80017ae0139a3fc0446dc1 (diff) |
Review of the main loop timer, converted timers from float to unsigned long,
corrected a number of timing bugs, improved client framerate stability.
Diffstat (limited to 'src/game/base/ship.h')
-rw-r--r-- | src/game/base/ship.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/base/ship.h b/src/game/base/ship.h index b0256aa..37dae0d 100644 --- a/src/game/base/ship.h +++ b/src/game/base/ship.h @@ -53,11 +53,11 @@ public: return ship_roll_force; } - /// physices frame + /// physics frame virtual void action (btScalar seconds); /// game frame - virtual void frame(float seconds); + virtual void frame(const unsigned long elapsed); /// move the ship to a different zone virtual void set_zone(core::Zone *zone); |