Skip to content

Commit

Permalink
Unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
bruhmoent authored Oct 26, 2024
1 parent e83ce24 commit 049d1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trigger/door.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Door::draw(DrawingContext& context)
Vector shake_delta = Vector(static_cast<float>(graphicsRandom.rand(-8, 8)), static_cast<float>(graphicsRandom.rand(-8, 8)));
float shake_strength = m_lock_warn_timer.started() ? m_lock_warn_timer.get_timeleft() : 0.f;
m_lock_sprite->draw(context.color(), get_bbox().get_middle() -
(Vector(m_lock_sprite->get_width() / 2, m_lock_sprite->get_height() / 2) + (shake_delta*shake_strength)), MovingSprite::m_layer, m_flip);
(Vector(m_lock_sprite->get_width() / 2, m_lock_sprite->get_height() / 2) + (shake_delta*shake_strength)), m_layer, m_flip);
}
}

Expand Down

0 comments on commit 049d1fe

Please sign in to comment.