Remove useless typecasts

This commit is contained in:
Dylan K. Taylor
2020-02-06 15:58:52 +00:00
parent d26fcf7dee
commit da3742b39e
5 changed files with 7 additions and 7 deletions

View File

@ -100,7 +100,7 @@ class Explosion{
$currentChunk = null;
$currentSubChunk = null;
$mRays = (int) ($this->rays - 1);
$mRays = $this->rays - 1;
for($i = 0; $i < $this->rays; ++$i){
for($j = 0; $j < $this->rays; ++$j){
for($k = 0; $k < $this->rays; ++$k){