From b49dbb2f6a83b88ce9b43df83f1ba3ddb6c93a2f Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Fri, 2 Jan 2015 17:27:40 +0100 Subject: [PATCH] time to seed srand (LOL) --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 8b81139..77d08fa 100644 --- a/src/main.c +++ b/src/main.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include "SDL/SDL.h" @@ -19,6 +20,7 @@ int main() { struct s_game ga; + srand(time(NULL)); start: init_game(&ga);