diff options
author | Stijn Buys <ingar@osirion.org> | 2011-07-01 17:02:43 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-07-01 17:02:43 +0000 |
commit | 4725111a83ee1311e214145af82741b1bfcce4ca (patch) | |
tree | 81f4325d0665a4d0e2d68ded1fce547cf14d9f56 /src | |
parent | 275a7d72da3718a4091f49f193abdac94c6d2f97 (diff) |
Corrected the signature of the RaceTrack::frame() function which prevented it from beeing executed.
Diffstat (limited to 'src')
-rw-r--r-- | src/game/base/racetrack.cc | 2 | ||||
-rw-r--r-- | src/game/base/racetrack.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |