fix compiling in visual studio, fix maybe bug with updates?
This commit is contained in:
parent
722b9d93d6
commit
9b9555226b
@ -786,7 +786,7 @@ void Client::Tick()
|
||||
#ifndef IGNORE_UPDATES
|
||||
//Check for updates
|
||||
json::Object versions = objDocument["Updates"];
|
||||
#if not defined(BETA) && not defined(SNAPSHOT)
|
||||
#if !defined(BETA) && !defined(SNAPSHOT)
|
||||
json::Object stableVersion = versions["Stable"];
|
||||
json::Number stableMajor = stableVersion["Major"];
|
||||
json::Number stableMinor = stableVersion["Minor"];
|
||||
|
@ -3,27 +3,21 @@
|
||||
#include <math.h>
|
||||
#if !defined(_MSC_VER)
|
||||
#include <strings.h>
|
||||
#else
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include "Config.h"
|
||||
#include "Simulation.h"
|
||||
#include "Elements.h"
|
||||
//#include "ElementFunctions.h"
|
||||
#include "Air.h"
|
||||
#include "Gravity.h"
|
||||
#include "elements/Element.h"
|
||||
#include "CoordStack.h"
|
||||
|
||||
//#include "graphics/Renderer.h"
|
||||
//#include "graphics/Graphics.h"
|
||||
#include "Misc.h"
|
||||
#include "ToolClasses.h"
|
||||
#include "gui/game/Brush.h"
|
||||
#include "client/GameSave.h"
|
||||
#include "Sample.h"
|
||||
#include "Snapshot.h"
|
||||
//#include "StorageClasses.h"
|
||||
|
||||
#ifdef LUACONSOLE
|
||||
#include "lua/LuaScriptInterface.h"
|
||||
|
Loading…
Reference in New Issue
Block a user