From 35ee11e5c1a468530bce671c797eccffc2a1c330 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 12 Apr 2018 22:07:38 +0200 Subject: Fix the rendering order problems. --- src/game/unit_nest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/unit_nest.cpp') diff --git a/src/game/unit_nest.cpp b/src/game/unit_nest.cpp index a46aa79..ffa551b 100644 --- a/src/game/unit_nest.cpp +++ b/src/game/unit_nest.cpp @@ -79,7 +79,7 @@ void unit_nest_t::on_spawn(void) void unit_nest_t::on_death(void) { - render_layer = -1; + render_layer = render::LAYER_FLAT; cmodel.cflags = CF_BACKGROUND; } -- cgit