From 00adf08412cc08733bb289babdc62a1ea95d42d0 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 16 Dec 2007 20:31:33 +0000 Subject: fixed spectate clamping --- src/game/g_mapres_col.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/game/g_mapres_col.cpp') diff --git a/src/game/g_mapres_col.cpp b/src/game/g_mapres_col.cpp index 4b391204..64a240bf 100644 --- a/src/game/g_mapres_col.cpp +++ b/src/game/g_mapres_col.cpp @@ -19,6 +19,16 @@ struct collision static collision col; static int global_dividor; +int col_width() +{ + return col.w; +} + +int col_height() +{ + return col.h; +} + int col_init(int dividor) { mapres_collision *c = (mapres_collision*)map_find_item(MAPRES_COLLISIONMAP,0); -- cgit 1.4.1