summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-15 15:57:38 +0100
committermadmaxoft <github@xoft.cz>2013-12-15 15:58:03 +0100
commit368b7a40b5c86d5fcd37ac4672a8823cdfb48538 (patch)
tree9220f8bab39186fa80035ff0bf199df75f32b013 /src
parentMerge pull request #434 from mc-server/Player_Abilities (diff)
downloadcuberite-368b7a40b5c86d5fcd37ac4672a8823cdfb48538.tar
cuberite-368b7a40b5c86d5fcd37ac4672a8823cdfb48538.tar.gz
cuberite-368b7a40b5c86d5fcd37ac4672a8823cdfb48538.tar.bz2
cuberite-368b7a40b5c86d5fcd37ac4672a8823cdfb48538.tar.lz
cuberite-368b7a40b5c86d5fcd37ac4672a8823cdfb48538.tar.xz
cuberite-368b7a40b5c86d5fcd37ac4672a8823cdfb48538.tar.zst
cuberite-368b7a40b5c86d5fcd37ac4672a8823cdfb48538.zip
Diffstat (limited to 'src')
-rw-r--r--src/Entities/ExpOrb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ExpOrb.cpp b/src/Entities/ExpOrb.cpp
index 248fb7278..04ee85823 100644
--- a/src/Entities/ExpOrb.cpp
+++ b/src/Entities/ExpOrb.cpp
@@ -54,7 +54,7 @@ void cExpOrb::Tick(float a_Dt, cChunk & a_Chunk)
Destroy(true);
}
a_Distance.Normalize();
- a_Distance *= ((float) (5.5 - Distance));
+ a_Distance *= ((float) (5.5 - Distance));
SetSpeedX( a_Distance.x );
SetSpeedY( a_Distance.y );
SetSpeedZ( a_Distance.z );