summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 956dde1ab..6ad19475f 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -363,11 +363,8 @@ void StationRect::MakeEmpty()
*/
bool StationRect::PtInExtendedRect(int x, int y, int distance) const
{
- return
- this->left - distance <= x &&
- x <= this->right + distance &&
- this->top - distance <= y &&
- y <= this->bottom + distance;
+ return this->left - distance <= x && x <= this->right + distance &&
+ this->top - distance <= y && y <= this->bottom + distance;
}
bool StationRect::IsEmpty() const