From ef437c9b98bc77214a39d943dd2bb698cad833fe Mon Sep 17 00:00:00 2001 From: Allanis Date: Thu, 28 Feb 2013 03:41:03 +0000 Subject: [PATCH] [Fix] I'm a retard!! I wasn't initialising ticks.. Spawning now works. Ima go sleep now. --- src/space.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/space.c b/src/space.c index c4cad75..a4cc29c 100644 --- a/src/space.c +++ b/src/space.c @@ -189,6 +189,8 @@ void space_update(const double dt) { (void)dt; // Don't need it right now. + t = SDL_GetTicks(); + if(cur_system->nfleets == 0) // Please stop checking that there are no fleets. spawn_timer = t + 300000;