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_spider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/unit_spider.cpp') diff --git a/src/game/unit_spider.cpp b/src/game/unit_spider.cpp index 0eea8eb..fd69305 100644 --- a/src/game/unit_spider.cpp +++ b/src/game/unit_spider.cpp @@ -80,7 +80,7 @@ void unit_spider_t::on_wake(void) void unit_spider_t::on_death(void) { - render_layer = -1; + render_layer = render::LAYER_FLAT; cmodel.cflags = CF_BACKGROUND; } -- cgit