diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-31 16:52:51 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-31 16:52:51 +0100 |
commit | 173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93 (patch) | |
tree | f22cc0530050584e430ede31481b34bff48b3e2f /src/World.cpp | |
parent | fixed bad merge (diff) | |
parent | removed unneccisary cast (diff) | |
download | cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.gz cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.bz2 cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.lz cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.xz cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.tar.zst cuberite-173ed0e653d05dbcfac9cfeeb6b75b7ea61b0e93.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 28c46c27e..cc543d460 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -723,6 +723,7 @@ void cWorld::Tick(float a_Dt, int a_LastTickDurationMSec) void cWorld::TickWeather(float a_Dt) { + UNUSED(a_Dt); // There are no weather changes anywhere but in the Overworld: if (GetDimension() != dimOverworld) { @@ -794,7 +795,7 @@ void cWorld::TickMobs(float a_Dt) cMonster::mfAmbient, cMonster::mfWater, } ; - for (int i = 0; i < ARRAYCOUNT(AllFamilies); i++) + for (size_t i = 0; i < ARRAYCOUNT(AllFamilies); i++) { cMonster::eFamily Family = AllFamilies[i]; int SpawnDelay = cMonster::GetSpawnDelay(Family); @@ -1643,6 +1644,7 @@ int cWorld::SpawnExperienceOrb(double a_X, double a_Y, double a_Z, int a_Reward) void cWorld::SpawnPrimedTNT(double a_X, double a_Y, double a_Z, double a_FuseTimeInSec, double a_InitialVelocityCoeff) { + UNUSED(a_InitialVelocityCoeff); cTNTEntity * TNT = new cTNTEntity(a_X, a_Y, a_Z, a_FuseTimeInSec); TNT->Initialize(this); // TODO: Add a bit of speed in horiz and vert axes, based on the a_InitialVelocityCoeff |