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_repl.cpp | |
parent | 8be509797bc38095eb2b2867a0dfc19d7d799b97 (diff) |
Fix the rendering order problems.
Diffstat (limited to 'src/game/unit_repl.cpp')
-rw-r--r-- | src/game/unit_repl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/unit_repl.cpp b/src/game/unit_repl.cpp index fbefcd2..8bfd835 100644 --- a/src/game/unit_repl.cpp +++ b/src/game/unit_repl.cpp @@ -24,7 +24,7 @@ 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}; render_size = size; - render_layer = -2; + render_layer = render::LAYER_FLAT; cmodel.cflags = CF_BACKGROUND; name = text::get(text::UNIT_NAME_REPL); |