summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-14 13:41:22 +0200
committerMattes D <github@xoft.cz>2015-05-14 13:41:22 +0200
commit80f2e1eb66a254fb41117219893f487aed60c483 (patch)
treee67d25d5ec24f7a706ecbb8ca5c00df73bc06809 /src/World.cpp
parentMerge pull request #2006 from mc-server/ManualBindingsWorld (diff)
parentUpdate World.cpp (diff)
downloadcuberite-80f2e1eb66a254fb41117219893f487aed60c483.tar
cuberite-80f2e1eb66a254fb41117219893f487aed60c483.tar.gz
cuberite-80f2e1eb66a254fb41117219893f487aed60c483.tar.bz2
cuberite-80f2e1eb66a254fb41117219893f487aed60c483.tar.lz
cuberite-80f2e1eb66a254fb41117219893f487aed60c483.tar.xz
cuberite-80f2e1eb66a254fb41117219893f487aed60c483.tar.zst
cuberite-80f2e1eb66a254fb41117219893f487aed60c483.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 648c9cd19..c0a79b9d0 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1019,7 +1019,7 @@ void cWorld::TickWeather(float a_Dt)
// 0.5% chance per tick of thunderbolt
if (m_TickRand.randInt() % 199 == 0)
{
- CastThunderbolt(0, 0, 0); // TODO: find random possitions near players to cast thunderbolts.
+ CastThunderbolt(0, 0, 0); // TODO: find random positions near players to cast thunderbolts.
}
}
}
@@ -1119,7 +1119,7 @@ void cWorld::TickScheduledTasks(void)
auto WorldAge = m_WorldAge;
// Move all the due tasks from m_ScheduledTasks into Tasks:
- for (auto itr = m_ScheduledTasks.begin(); itr != m_ScheduledTasks.end();) // Cannot use range-basd for, we're modifying the container
+ for (auto itr = m_ScheduledTasks.begin(); itr != m_ScheduledTasks.end();) // Cannot use range-based for, we're modifying the container
{
if ((*itr)->m_TargetTick < std::chrono::duration_cast<cTickTimeLong>(WorldAge).count())
{