aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapblock.h')
-rw-r--r--src/mapblock.h4
1 files changed, 4 insertions, 0 deletions
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;