Skip to content

Commit b34b04d

Browse files
authored
Change the lock's sprite layer to be the same. (#3090)
Fixes #3089
1 parent a3cfb55 commit b34b04d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trigger/door.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Door::draw(DrawingContext& context)
169169
Vector shake_delta = Vector(static_cast<float>(graphicsRandom.rand(-8, 8)), static_cast<float>(graphicsRandom.rand(-8, 8)));
170170
float shake_strength = m_lock_warn_timer.started() ? m_lock_warn_timer.get_timeleft() : 0.f;
171171
m_lock_sprite->draw(context.color(), get_bbox().get_middle() -
172-
(Vector(m_lock_sprite->get_width() / 2, m_lock_sprite->get_height() / 2) + (shake_delta*shake_strength)), LAYER_BACKGROUNDTILES + 1, m_flip);
172+
(Vector(m_lock_sprite->get_width() / 2, m_lock_sprite->get_height() / 2) + (shake_delta*shake_strength)), m_layer, m_flip);
173173
}
174174
}
175175

0 commit comments

Comments
 (0)