Skip to content

Commit

Permalink
fix compiling in visual studio, fix maybe bug with updates?
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Sep 20, 2015
1 parent 722b9d9 commit 9b95552
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/client/Client.cpp
Expand Up @@ -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"];
Expand Down
6 changes: 0 additions & 6 deletions src/simulation/Simulation.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit 9b95552

Please sign in to comment.