summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-10-12 13:15:52 +0200
committerworktycho <work.tycho@gmail.com>2014-10-12 13:15:52 +0200
commit8dfeb6e3248af3870b578b7d48def9eb903d85af (patch)
treed4a36936b96d53a4693bf8ee8c5087bac9b3d73c
parentFix lambda capture (diff)
downloadcuberite-8dfeb6e3248af3870b578b7d48def9eb903d85af.tar
cuberite-8dfeb6e3248af3870b578b7d48def9eb903d85af.tar.gz
cuberite-8dfeb6e3248af3870b578b7d48def9eb903d85af.tar.bz2
cuberite-8dfeb6e3248af3870b578b7d48def9eb903d85af.tar.lz
cuberite-8dfeb6e3248af3870b578b7d48def9eb903d85af.tar.xz
cuberite-8dfeb6e3248af3870b578b7d48def9eb903d85af.tar.zst
cuberite-8dfeb6e3248af3870b578b7d48def9eb903d85af.zip
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index f616063f5..8479cbf9e 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1073,7 +1073,7 @@ void cWorld::TickScheduledTasks(void)
std::find_if(
m_ScheduledTasks.begin(),
m_ScheduledTasks.end(),
- [WorldAge] (std::unique_ptr<cScheduledTask>& Task) { return Task->m_TargetTick < m_WorldAge;}),
+ [WorldAge] (std::unique_ptr<cScheduledTask>& Task) { return Task->m_TargetTick < WorldAge;}),
std::back_inserter(Tasks));
}