From c6174a62db98c69219121a5fc23360aabb0b0d56 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Tue, 13 Jan 2015 23:52:36 +0100 Subject: [PATCH] fix bug spawn in generator.c --- generator.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/generator.c b/generator.c index b5c1b57..e0691a1 100644 --- a/generator.c +++ b/generator.c @@ -28,7 +28,7 @@ typedef struct{ } t_biome; // variables -int spx[2], spy[2]; +int sp_x[2], sp_y[2]; t_biome* l_biomes; int size_biomes; int cpt_biome = 0; @@ -85,6 +85,10 @@ void create_map(int w, int h){ for(j=0;j