From 1b765b974003219fe395a5b97afaf6cfa9f0d7ed Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 21 Nov 2011 13:29:16 +0200 Subject: Add reason parameter to setModified and print it out to verbosestream when saving block --- src/mapblock.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mapblock.cpp') diff --git a/src/mapblock.cpp b/src/mapblock.cpp index 76b8a5e79..bc678db15 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -41,6 +41,8 @@ MapBlock::MapBlock(Map *parent, v3s16 pos, IGameDef *gamedef, bool dummy): m_pos(pos), m_gamedef(gamedef), m_modified(MOD_STATE_WRITE_NEEDED), + m_modified_reason("initial"), + m_modified_reason_too_long(false), is_underground(false), m_lighting_expired(true), m_day_night_differs(false), -- cgit v1.2.3