From 1c63cbf204b1d2c667ce9f821ccb197d0ffb0ac3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 11 May 2011 14:48:17 +0000 Subject: Review of the main loop timer, converted timers from float to unsigned long, corrected a number of timing bugs, improved client framerate stability. --- src/game/base/jumppoint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/base/jumppoint.h') diff --git a/src/game/base/jumppoint.h b/src/game/base/jumppoint.h index 40f9e5d..33a9f9f 100644 --- a/src/game/base/jumppoint.h +++ b/src/game/base/jumppoint.h @@ -75,14 +75,14 @@ public: void activate(); - virtual void frame(float elapsed); + virtual void frame(const unsigned long elapsed); static inline void set_template (const Template *entitytemplate) { jumpgate_template = entitytemplate; } private: - float jumpgate_timer; + unsigned long jumpgate_timer; static const Template *jumpgate_template; }; -- cgit v1.2.3