Fix sample game main.c

This commit is contained in:
2020-03-06 19:03:18 +01:00
committed by Valeriano A.R
parent 7183f9c40e
commit 5e9bbf0069

View File

@@ -1,10 +1,11 @@
// Copyright (C) 2012 Valeriano Alfonso Rodriguez (Kableado)
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#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;