]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/environment.cpp
Move globals from main.cpp to more sane locations
[dragonfireclient.git] / src / environment.cpp
index d437dbd5dfe660d96250997af3a19016cf0aa572..af213e5e21cbb563612dbcd93aa175d95b03c531 100644 (file)
@@ -17,6 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
+#include <fstream>
 #include "environment.h"
 #include "filesys.h"
 #include "porting.h"
@@ -31,7 +32,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "scripting_game.h"
 #include "nodedef.h"
 #include "nodemetadata.h"
-#include "main.h" // For g_settings, g_profiler
 #include "gamedef.h"
 #ifndef SERVER
 #include "clientmap.h"