commit 87461296f26780b9ae9fa60c17c3745b1431689a parent b4a2d0e3e48c206fa4d0b8a4f2d3b09da28657c8 Author: amrfti <andrew@kloet.net> Date: Mon, 7 Jul 2025 14:18:30 -0400 fix whale delete Diffstat:
| M | src/Whale.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Whale.cpp b/src/Whale.cpp @@ -53,7 +53,7 @@ bool Whale::shouldBeRemoved() const noexcept { if (moving_right) { return x > static_cast<float>(aquarium.getWidth()); } else { - return (x + static_cast<float>(first_frame[0].length())) < 0; + return (x + static_cast<float>(first_frame[6].length())) < 0; } }