diff options
author | Bond-009 <bond.009@outlook.com> | 2018-05-06 19:07:34 +0200 |
---|---|---|
committer | peterbell10 <peterbell10@live.co.uk> | 2018-05-06 19:07:34 +0200 |
commit | b9fdaf8a942ea2f79e48e3f735ba8916f3364e70 (patch) | |
tree | 41c6f10550a4e606d33ac84fe3968b69875aa1d4 /src/NetherPortalScanner.h | |
parent | Generate cacti and sugarcane with different heights (#4137) (diff) | |
download | cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.gz cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.bz2 cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.lz cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.xz cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.tar.zst cuberite-b9fdaf8a942ea2f79e48e3f735ba8916f3364e70.zip |
Diffstat (limited to '')
-rw-r--r-- | src/NetherPortalScanner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/NetherPortalScanner.h b/src/NetherPortalScanner.h index 92af06f98..f3df57c0d 100644 --- a/src/NetherPortalScanner.h +++ b/src/NetherPortalScanner.h @@ -39,8 +39,8 @@ private: static const int SearchSolidBaseWidth = 3; /** Where to place the player out from the face and across the face */ - const double OutOffset = 2; - const double AcrossOffset = 0.5; + static const double OutOffset; + static const double AcrossOffset; /** Builds a portal. */ void BuildNetherPortal(Vector3i a_Location, Direction a_Direction, bool a_IncludePlatform); |