summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-19 18:13:41 +0100
committerGitHub <noreply@github.com>2020-03-19 18:13:41 +0100
commit0e07e231a219fb810c100e1cd823ef7585f7e2ff (patch)
tree909e132bd66492606fc1b470284da448372f5534 /src/ChunkMap.cpp
parentAdded myself to CONTRIBUTORS file (#4515) (diff)
downloadcuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar
cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.gz
cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.bz2
cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.lz
cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.xz
cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.zst
cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.zip
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r--src/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 32c7d548f..364dfbb3d 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -1319,7 +1319,7 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_
DistanceFromExplosion.Normalize();
DistanceFromExplosion *= Impact;
- a_Entity.AddSpeed(DistanceFromExplosion);
+ a_Entity.SetSpeed(DistanceFromExplosion);
}
return false;