Permalink
Browse files

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

  • Loading branch information...
jacob1 committed Sep 20, 2015
1 parent 722b9d9 commit 9b9555226b74c2b892fb1b603b4eea82400c72ce
Showing with 1 addition and 7 deletions.
  1. +1 −1 src/client/Client.cpp
  2. +0 −6 src/simulation/Simulation.cpp
@@ -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"

0 comments on commit 9b95552

Please sign in to comment.