diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 22:07:38 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-04-12 22:07:38 +0200 |
commit | 35ee11e5c1a468530bce671c797eccffc2a1c330 (patch) | |
tree | 15c9d63dc5149f895ce2a7787075953b4323d3da /src/game/unit_nest.cpp | |
parent | 8be509797bc38095eb2b2867a0dfc19d7d799b97 (diff) |
Fix the rendering order problems.
Diffstat (limited to 'src/game/unit_nest.cpp')
-rw-r--r-- | src/game/unit_nest.cpp | 2 |
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; } |