Skip to content

Commit 637f9dc

Browse files
authored
Merge pull request #79 from DanielDual/fix/bent-laser-bound-check
fix: wrong condition in BentLaser BoundCheck
2 parents cac791a + 5522357 commit 637f9dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LuaSTG/LuaSTG/GameObject/GameObjectBentLaser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ bool GameObjectBentLaser::BoundCheck() noexcept
736736
auto& manager = LPOOL;
737737
for (size_t i = 0u; i < m_Queue.size(); i++) {
738738
LaserNode& n = m_Queue[i];
739-
if (!manager.isPointInBound(n.pos.x, n.pos.y)) {
739+
if (manager.isPointInBound(n.pos.x, n.pos.y)) {
740740
return true;
741741
}
742742
}

0 commit comments

Comments
 (0)