From 5e9bbf00693b046b4cefc5c5fead1e1c4fe861ff Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Fri, 6 Mar 2020 19:03:18 +0100 Subject: [PATCH] Fix sample game main.c --- Game/main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Game/main.c b/Game/main.c index 6357d70..dea4184 100644 --- a/Game/main.c +++ b/Game/main.c @@ -1,10 +1,11 @@ // Copyright (C) 2012 Valeriano Alfonso Rodriguez (Kableado) +#include #include #include -#include +#include #include -#include + #include "GameLib.h" extern int gamelib_debug; @@ -32,8 +33,6 @@ void DrawGame(float f) { MainGame_Text(8, 8, "Hello world!"); } int main(int argc, char *argv[]) { - srand(time(NULL)); - if (argc > 1) { if (!strcmp(argv[1], "debug")) { gamelib_debug = 1;