summaryrefslogtreecommitdiffstats
path: root/src/control/Garages.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-08 10:00:24 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-08 10:00:24 +0100
commit016ff5b4aa98ed24938284bfbf6db9373981a5de (patch)
tree8ea809158b4ade6e2d6ecd70453e6a9766b25cd0 /src/control/Garages.h
parentpool stuff fix (diff)
parentPool fixes from master (diff)
downloadre3-016ff5b4aa98ed24938284bfbf6db9373981a5de.tar
re3-016ff5b4aa98ed24938284bfbf6db9373981a5de.tar.gz
re3-016ff5b4aa98ed24938284bfbf6db9373981a5de.tar.bz2
re3-016ff5b4aa98ed24938284bfbf6db9373981a5de.tar.lz
re3-016ff5b4aa98ed24938284bfbf6db9373981a5de.tar.xz
re3-016ff5b4aa98ed24938284bfbf6db9373981a5de.tar.zst
re3-016ff5b4aa98ed24938284bfbf6db9373981a5de.zip
Diffstat (limited to 'src/control/Garages.h')
-rw-r--r--src/control/Garages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h
index 1c096fdd..fc06deae 100644
--- a/src/control/Garages.h
+++ b/src/control/Garages.h
@@ -148,7 +148,7 @@ class CGarage
return Abs(TheCamera.GetPosition().x - GetGarageCenterX()) > SWITCH_GARAGE_DISTANCE_CLOSE ||
Abs(TheCamera.GetPosition().y - GetGarageCenterY()) > SWITCH_GARAGE_DISTANCE_CLOSE;
#else
- return Abs(TheCamera.GetPosition().x - m_fInfX) > SWITCH_GARAGE_DISTANCE_CLOSE ||
+ return Abs(TheCamera.GetPosition().x - m_fInfX) > SWITCH_GARAGE_DISTANCE_CLOSE ||
Abs(TheCamera.GetPosition().y - m_fInfY) > SWITCH_GARAGE_DISTANCE_CLOSE;
#endif
}