diff options
author | Franz Reiter <franzi.moos@googlemail.com> | 2014-08-12 16:05:33 +0200 |
---|---|---|
committer | Franz Reiter <franzi.moos@googlemail.com> | 2014-08-12 16:05:33 +0200 |
commit | 8f0c4911f7564f6f8b73ad3f6920b2ac649f422d (patch) | |
tree | 8c4406712a9634f3b300fb79b1fb4f462f9b2b59 /src/Protocol/ProtocolRecognizer.cpp | |
parent | Merge pull request #1316 from ChriPiv/master (diff) | |
parent | Exported daylight cycle flag to the protocol. (diff) | |
download | cuberite-8f0c4911f7564f6f8b73ad3f6920b2ac649f422d.tar cuberite-8f0c4911f7564f6f8b73ad3f6920b2ac649f422d.tar.gz cuberite-8f0c4911f7564f6f8b73ad3f6920b2ac649f422d.tar.bz2 cuberite-8f0c4911f7564f6f8b73ad3f6920b2ac649f422d.tar.lz cuberite-8f0c4911f7564f6f8b73ad3f6920b2ac649f422d.tar.xz cuberite-8f0c4911f7564f6f8b73ad3f6920b2ac649f422d.tar.zst cuberite-8f0c4911f7564f6f8b73ad3f6920b2ac649f422d.zip |
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index a7fb7bcc2..18694572a 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -716,10 +716,10 @@ void cProtocolRecognizer::SendThunderbolt(int a_BlockX, int a_BlockY, int a_Bloc -void cProtocolRecognizer::SendTimeUpdate(Int64 a_WorldAge, Int64 a_TimeOfDay) +void cProtocolRecognizer::SendTimeUpdate(Int64 a_WorldAge, Int64 a_TimeOfDay, bool a_DoDaylightCycle) { ASSERT(m_Protocol != NULL); - m_Protocol->SendTimeUpdate(a_WorldAge, a_TimeOfDay); + m_Protocol->SendTimeUpdate(a_WorldAge, a_TimeOfDay, a_DoDaylightCycle); } |