time to seed srand (LOL)

This commit is contained in:
Frank Villaro-Dixon 2015-01-02 17:27:40 +01:00
parent 953377d4ec
commit b49dbb2f6a

View file

@ -5,6 +5,7 @@
*/
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <math.h>
#include "SDL/SDL.h"
@ -19,6 +20,7 @@ int
main()
{
struct s_game ga;
srand(time(NULL));
start:
init_game(&ga);