diff --git a/src/Whale.cpp b/src/Whale.cpp index ac716f9..c5f8c32 100644 --- a/src/Whale.cpp +++ b/src/Whale.cpp @@ -53,7 +53,7 @@ bool Whale::shouldBeRemoved() const noexcept { if (moving_right) { return x > static_cast(aquarium.getWidth()); } else { - return (x + static_cast(first_frame[0].length())) < 0; + return (x + static_cast(first_frame[6].length())) < 0; } }