fix compiling in visual studio, fix maybe bug with updates?

This commit is contained in:
jacob1 2015-09-20 00:59:37 -04:00
parent 722b9d93d6
commit 9b9555226b
2 changed files with 1 additions and 7 deletions

View File

@ -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"];

View File

@ -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"