summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/units.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/units.cpp b/src/game/units.cpp
index abdf216..c416dd7 100644
--- a/src/game/units.cpp
+++ b/src/game/units.cpp
@@ -19,7 +19,6 @@ void unit_t::compute_bounds()
render_bounds[1] = x + render_size[1];
}
-
unit_t::unit_t(unit_t::type_t type_) : entity_t(ET_UNIT)
{
type = type_;
@@ -157,6 +156,7 @@ human_t::human_t() : unit_t(UNIT_HUMAN)
size[1] = v2f_t(+0.4f, +0.4f);
render_size[0] = v2f_t(-0.5f, -1.0f);
render_size[1] = v2f_t(+0.5f, +0.5f);
+ render_layer = -1;
}
void human_t::wake(double now, unit_t *by_whom)