From d2a6eedad133e08c397e6a8b7764bf8ea1464357 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 17 Dec 2017 07:33:24 +0000 Subject: Make cmodels a bit smaller. --- src/game/units.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/game/units.cpp b/src/game/units.cpp index 0c03079..4ef03ee 100644 --- a/src/game/units.cpp +++ b/src/game/units.cpp @@ -265,8 +265,8 @@ static unit_t *find_target(world::world_t *world, v2f_t x, float r, unit_soldier_t::unit_soldier_t(game::state_t *game) : unit_t(game, UNIT_SOLDIER) { - size[0] = v2f_t(-0.4f, -0.4f); - size[1] = v2f_t(+0.4f, +0.4f); + size[0] = v2f_t(-0.3f, +0.0f); + size[1] = v2f_t(+0.3f, +0.3f); render_size[0] = v2f_t(-0.5f, -1.0f); render_size[1] = v2f_t(+0.5f, +0.5f); cmodel.cflags = CF_BODY; @@ -363,7 +363,7 @@ void unit_soldier_t::render_to(render::state_t *render) unit_spider_t::unit_spider_t(game::state_t *game) : unit_t(game, UNIT_SPIDER) { - size[0] = v2f_t(-0.2f, -0.3f); + size[0] = v2f_t(-0.2f, +0.0f); size[1] = v2f_t(+0.2f, +0.3f); render_size[0] = v2f_t(-0.3f, -0.3f); render_size[1] = v2f_t(+0.3f, +0.3f); -- cgit