We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8665e18 commit 2a74a4eCopy full SHA for 2a74a4e
src/badguy/tarantula.cpp
@@ -316,7 +316,7 @@ Tarantula::draw(DrawingContext& context)
316
317
float length = std::floor((get_bbox().get_top() - m_start_position.y) / static_cast<float>(m_silk->get_height()));
318
for (int i = 0; i <= static_cast<int>(length) + 1; i++) {
319
- context.color().draw_surface(m_silk, pos, LAYER_TILES-5);
+ context.color().draw_surface(m_silk, pos, get_layer() - 1);
320
pos.y += 32.f;
321
}
322
0 commit comments