summaryrefslogtreecommitdiff
path: root/src/game/unit_nest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/unit_nest.cpp')
-rw-r--r--src/game/unit_nest.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}