fix whale delete

This commit is contained in:
2025-07-07 14:18:30 -04:00
parent 7bd10b454d
commit f4ec53cbbe

View File

@@ -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;
}
}