From 4725111a83ee1311e214145af82741b1bfcce4ca Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 1 Jul 2011 17:02:43 +0000 Subject: Corrected the signature of the RaceTrack::frame() function which prevented it from beeing executed. --- src/game/base/racetrack.cc | 2 +- src/game/base/racetrack.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game') diff --git a/src/game/base/racetrack.cc b/src/game/base/racetrack.cc index fd5d339..51d6e7f 100644 --- a/src/game/base/racetrack.cc +++ b/src/game/base/racetrack.cc @@ -111,7 +111,7 @@ void RaceTrack::func_dock(core::Entity *entity) return; } -void RaceTrack::frame(float seconds) +void RaceTrack::frame(const unsigned long elapsed) { if (!track_checkpoints.size()) return; diff --git a/src/game/base/racetrack.h b/src/game/base/racetrack.h index 705039a..dd192ba 100644 --- a/src/game/base/racetrack.h +++ b/src/game/base/racetrack.h @@ -49,7 +49,7 @@ public: virtual void func_dock(core::Entity *entity); /// run one time frame - virtual void frame(float elapsed); + virtual void frame(const unsigned long elapsed); private: CheckPoints track_checkpoints; -- cgit v1.2.3