From e396fb29840c3b87b0442fe6d641c94e8165ed27 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 17 Nov 2013 01:59:04 -0500 Subject: Actually fix weather The real problem was that MapBlocks were not activated before getting sent to the client --- src/mapblock.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mapblock.cpp') diff --git a/src/mapblock.cpp b/src/mapblock.cpp index 3fb2ec5ed..e45af9cdb 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -45,7 +45,8 @@ with this program; if not, write to the Free Software Foundation, Inc., MapBlock::MapBlock(Map *parent, v3s16 pos, IGameDef *gamedef, bool dummy): heat(0), humidity(0), - weather_update_time(0), + heat_last_update(0), + humidity_last_update(0), m_parent(parent), m_pos(pos), m_gamedef(gamedef), -- cgit v1.2.3