From 46b6d9fcc703d530b30d99c331750ff8da0a52c4 Mon Sep 17 00:00:00 2001 From: dongresource Date: Wed, 6 Jan 2021 12:29:39 +0100 Subject: [PATCH] Include CNStructs.hpp in settings.cpp for the ACADEMY define This fixes the spawn point being wrong. --- src/settings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/settings.cpp b/src/settings.cpp index a440cd5..2856697 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1,6 +1,7 @@ #include #include "settings.hpp" #include "contrib/INIReader.hpp" +#include "CNStructs.hpp" // for ACADEMY // defaults :) int settings::VERBOSITY = 1; @@ -17,11 +18,12 @@ bool settings::SIMULATEMOBS = true; // default spawn point #ifndef ACADEMY -// Sector V (future) +// Sector V (The Future) int settings::SPAWN_X = 632032; int settings::SPAWN_Y = 187177; int settings::SPAWN_Z = -5500; #else +// Null Void (Training Area) int settings::SPAWN_X = 19835; int settings::SPAWN_Y = 108682; int settings::SPAWN_Z = 8450;