diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-12-23 23:40:45 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-12-26 17:58:53 +0100 |
commit | 7f894b2f7362cc923999e2aaa7e9a75bacea5b31 (patch) | |
tree | a44f555c3fff6c6d074509001d3be967c7d938d5 /src/Mobs/Silverfish.cpp | |
parent | Daylight Sensor: remove redundant delay (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Mobs/Silverfish.cpp | 2 |
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; |