summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-12-17 07:33:24 +0000
committerPaweł Redman <pawel.redman@gmail.com>2017-12-17 07:33:24 +0000
commitd2a6eedad133e08c397e6a8b7764bf8ea1464357 (patch)
tree40f843e6049e0f77166f478586b560c7123eedc9
parent6d171bd90cab959b084d3e35f810be8e54f5c573 (diff)
Make cmodels a bit smaller.
-rw-r--r--src/game/units.cpp6
1 files changed, 3 insertions, 3 deletions
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);