Skip to content

Commit

Permalink
Fix warnings in mapblock.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
PilzAdam committed Jul 28, 2013
1 parent 4fb4efd commit ff7c380
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/mapblock.cpp
Expand Up @@ -44,6 +44,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/

MapBlock::MapBlock(Map *parent, v3s16 pos, IGameDef *gamedef, bool dummy):
heat(0),
heat_time(0),
humidity(0),
humidity_time(0),
m_parent(parent),
m_pos(pos),
m_gamedef(gamedef),
Expand All @@ -58,11 +62,7 @@ MapBlock::MapBlock(Map *parent, v3s16 pos, IGameDef *gamedef, bool dummy):
m_timestamp(BLOCK_TIMESTAMP_UNDEFINED),
m_disk_timestamp(BLOCK_TIMESTAMP_UNDEFINED),
m_usage_timer(0),
m_refcount(0),
heat_time(0),
heat(0),
humidity_time(0),
humidity(0)
m_refcount(0)
{
data = NULL;
if(dummy == false)
Expand Down

0 comments on commit ff7c380

Please sign in to comment.