diff --git a/main.cpp b/main.cpp index 058027d..3c30979 100644 --- a/main.cpp +++ b/main.cpp @@ -173,10 +173,11 @@ void corridor(unsigned char map[X_MAX][Y_MAX], int start_x, int start_y, int end } } -void generate(unsigned char map[X_MAX][Y_MAX]) +void generate(unsigned char map[X_MAX][Y_MAX], int player[2]) { int corridor_x; int corridor_y; + //Creazione delle stanze for(int r=0; r