diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-16 20:31:33 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-16 20:31:33 +0000 |
| commit | 00adf08412cc08733bb289babdc62a1ea95d42d0 (patch) | |
| tree | 0cd538e0f6b5d518f93a49b575ae4b3085389bec /src/game/g_mapres_col.cpp | |
| parent | b03d26b8866e04567f21cee3fcd37a9ca673ea3b (diff) | |
| download | zcatch-00adf08412cc08733bb289babdc62a1ea95d42d0.tar.gz zcatch-00adf08412cc08733bb289babdc62a1ea95d42d0.zip | |
fixed spectate clamping
Diffstat (limited to 'src/game/g_mapres_col.cpp')
| -rw-r--r-- | src/game/g_mapres_col.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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); |