aboutsummaryrefslogtreecommitdiff
path: root/src/physics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/physics.c')
-rw-r--r--src/physics.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/physics.c b/src/physics.c
index 3d860df..9fa77da 100644
--- a/src/physics.c
+++ b/src/physics.c
@@ -88,12 +88,11 @@ static void physics_process(ModelInstance *obj, Uint32 dt) {
}
-void physics_step(Game *game) {
+void physics_step(Game *game, Uint32 t) {
int i, j;
- Uint32 dt, t;
+ Uint32 dt;
- t = SDL_GetTicks();
dt = t - game->tlast;
/* Handle things specific to the lander craft */