summaryrefslogtreecommitdiff
path: root/src/mapblock.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-11-17 01:59:04 -0500
committerkwolekr <kwolekr@minetest.net>2013-11-17 01:59:04 -0500
commite396fb29840c3b87b0442fe6d641c94e8165ed27 (patch)
tree2e0acec1876e64db499c1bb7cc65a113ca3469fd /src/mapblock.cpp
parent90e7832408eb313676d40b747ec533c3b07e5c28 (diff)
downloadminetest-e396fb29840c3b87b0442fe6d641c94e8165ed27.tar.gz
minetest-e396fb29840c3b87b0442fe6d641c94e8165ed27.tar.bz2
minetest-e396fb29840c3b87b0442fe6d641c94e8165ed27.zip
Actually fix weather
The real problem was that MapBlocks were not activated before getting sent to the client
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r--src/mapblock.cpp3
1 files changed, 2 insertions, 1 deletions
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),