Silverfish: correct search cube
This commit is contained in:
parent
14ada52f3a
commit
7f894b2f73
@ -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)
|
// 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:
|
// 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;
|
const int HalfSide = CubeSideLength / 2;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user