summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-13 13:25:59 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-13 13:25:59 +0200
commit88ab09fbd5cbcc6173e5d7d370a0ad4886d13bf7 (patch)
tree74fdbd11720a60cc3faf4d9d36a3d5dacbdc7fa7 /src
parentce40f40ce6c7b7b44f1e1aea1cd1cb4d917b24c3 (diff)
Better replicator assets.
Diffstat (limited to 'src')
-rw-r--r--src/game/assets.cpp3
-rw-r--r--src/game/unit_repl.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp
index e8ad153..31c4427 100644
--- a/src/game/assets.cpp
+++ b/src/game/assets.cpp
@@ -74,8 +74,7 @@ void load(void)
nest.pain.load("assets/units/nest/pain.ogg");
nest.death.load("assets/units/nest/death.ogg");
- repl.idle.load("assets/units/repl/idle_", 1);
- repl.dead.load("assets/units/repl/dead_", 1);
+ repl.idle.load("assets/units/repl/idle_", 4);
repl.sound.load("assets/units/repl/sound.ogg");
repl.damage.load("assets/units/repl/damage1.ogg");
repl.damage.load("assets/units/repl/damage2.ogg");
diff --git a/src/game/unit_repl.cpp b/src/game/unit_repl.cpp
index c8c6f00..be3e8fa 100644
--- a/src/game/unit_repl.cpp
+++ b/src/game/unit_repl.cpp
@@ -22,7 +22,7 @@ namespace game {
unit_repl_t::unit_repl_t(game::state_t *game_) : unit_t(game_, UNIT_REPL)
{
size[0] = {-0.4f, -0.2f};
- size[1] = {+0.4f, +0.6f};
+ size[1] = {+0.4f, +0.4f};
render_size = size;
render_layer = render::LAYER_FLAT;
cmodel.cflags = CF_BODY_SMALL;