summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Silverfish.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-12-23 23:40:45 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2020-12-26 17:58:53 +0100
commit7f894b2f7362cc923999e2aaa7e9a75bacea5b31 (patch)
treea44f555c3fff6c6d074509001d3be967c7d938d5 /src/Mobs/Silverfish.cpp
parentDaylight Sensor: remove redundant delay (diff)
downloadcuberite-7f894b2f7362cc923999e2aaa7e9a75bacea5b31.tar
cuberite-7f894b2f7362cc923999e2aaa7e9a75bacea5b31.tar.gz
cuberite-7f894b2f7362cc923999e2aaa7e9a75bacea5b31.tar.bz2
cuberite-7f894b2f7362cc923999e2aaa7e9a75bacea5b31.tar.lz
cuberite-7f894b2f7362cc923999e2aaa7e9a75bacea5b31.tar.xz
cuberite-7f894b2f7362cc923999e2aaa7e9a75bacea5b31.tar.zst
cuberite-7f894b2f7362cc923999e2aaa7e9a75bacea5b31.zip
Diffstat (limited to 'src/Mobs/Silverfish.cpp')
-rw-r--r--src/Mobs/Silverfish.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Silverfish.cpp b/src/Mobs/Silverfish.cpp
index 43686344b..a11256076 100644
--- a/src/Mobs/Silverfish.cpp
+++ b/src/Mobs/Silverfish.cpp
@@ -59,7 +59,7 @@ bool cSilverfish::DoTakeDamage(TakeDamageInfo &a_TDI)
// Search the faces of an increasingly large cube (so the positions closest get looked at first)
// of min 3, max 10, for infested blocks and spawn additional reinforcements:
- for (int CubeSideLength = 3; CubeSideLength <= 10; CubeSideLength++)
+ for (int CubeSideLength = 3; CubeSideLength <= 10; CubeSideLength += 2)
{
const int HalfSide = CubeSideLength / 2;