summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/game.cpp2
-rw-r--r--src/game/unit_repl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index f6a741c..6ffb629 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -443,7 +443,7 @@ void state_t::explosion(v2f_t x)
int damage;
end = x + prng.unit_vec2() * 6.0f;
- trace = world.ray_v_all(x, end, CF_SOLID|CF_BODY|CF_BODY_SMALL|CF_DECOS, nullptr);
+ trace = world.ray_v_all(x, end, CF_SURFACE|CF_SOLID|CF_BODY|CF_BODY_SMALL|CF_DECOS, nullptr);
tracer = new fx_tracer_t(this, x, trace.end);
tracer->place(&world);
diff --git a/src/game/unit_repl.cpp b/src/game/unit_repl.cpp
index fb66176..584778d 100644
--- a/src/game/unit_repl.cpp
+++ b/src/game/unit_repl.cpp
@@ -25,7 +25,7 @@ unit_repl_t::unit_repl_t(game::state_t *game_) : unit_t(game_, UNIT_REPL)
size[1] = {+0.4f, +0.4f};
render_size = size;
render_layer = render::LAYER_FLAT;
- cmodel.cflags = CF_BACKGROUND;
+ cmodel.cflags = CF_SURFACE;
name = text::get(text::UNIT_NAME_REPL);
ignore_waking = false;