From 9b565b6bc427673437c28518d1f61c13b58be42e Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 5 Jun 2011 18:57:36 +0300 Subject: tried to reduce unnecessary map saving disk i/o a bit --- src/mapblock.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mapblock.h') diff --git a/src/mapblock.h b/src/mapblock.h index 1eb97353c..74666eb48 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -628,6 +628,10 @@ public: m_timestamp = time; setChangedFlag(); } + void setTimestampNoChangedFlag(u32 time) + { + m_timestamp = time; + } u32 getTimestamp() { return m_timestamp; -- cgit v1.2.3