about summary refs log tree commit diff
path: root/src/game/g_collision.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_collision.cpp')
-rw-r--r--src/game/g_collision.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_collision.cpp b/src/game/g_collision.cpp
index b15af913..6c50064b 100644
--- a/src/game/g_collision.cpp
+++ b/src/game/g_collision.cpp
@@ -16,9 +16,9 @@ int col_height() { return height; }
 
 int col_init()
 {
-	width = layers_game()->width;
-	height = layers_game()->height;
-	tiles = (TILE *)map_get_data(layers_game()->data);
+	width = layers_game_layer()->width;
+	height = layers_game_layer()->height;
+	tiles = (TILE *)map_get_data(layers_game_layer()->data);
 	return 1;
 }