Browse Source

Update Example_-_Collision_map.c

Rudy Boudewijn van Etten 5 years ago
parent
commit
8e454811a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Example_-_Collision_map.c

+ 1 - 1
Example_-_Collision_map.c

@@ -25,7 +25,7 @@ int main(void)
     float tileheight = (float)screenHeight/10.0f;
     float tileheight = (float)screenHeight/10.0f;
 
 
     // This is out collision map.
     // This is out collision map.
-    bool colmap[20][20] = {false};
+    bool colmap[10][20] = {false};
     // This is our tile map.
     // This is our tile map.
     int map[10][20] = { {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
     int map[10][20] = { {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
                         {1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1},
                         {1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,1,1,1},