Skip to content

Commit

Permalink
Removed obsolete chest WorldObject member
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewScholefield committed Sep 28, 2015
1 parent 28b42c6 commit cac1467
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/world.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,14 @@ class WorldObject
double camCalcY;
Biome biome[WORLD_WIDTH + 1];
bool chestInUse[MAX_CHESTS];
int obsoleteChests[MAX_CHESTS][CHEST_SLOTS][2];
Inventory chests[MAX_CHESTS];
Furnace *furnaces[MAX_FURNACES];
int reservedWater;

WorldObject(GameMode gameMode = GAMEMODE_PREVIEW) : blocks { }, data{}, brightness{}, lightemit{}, sun{}, bgblocks{}

, camY(0), camX(0), timeInWorld(0), worldBrightness(0), gameMode(gameMode)
, seed(1), camCalcX(0.0), camCalcY(0.0), biome { }, chestInUse{}, obsoleteChests{}
, seed(1), camCalcX(0.0), camCalcY(0.0), biome { }, chestInUse{}

, furnaces(), reservedWater(0) { }

Expand Down

0 comments on commit cac1467

Please sign in to comment.