Commit 4c45eedb538c24c4529ce386e523a029f2170bd9
1 parent
bd90a4fa
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
classesphp/classe_mapa.php
... | ... | @@ -1093,6 +1093,9 @@ $random - indica se os nomes dos novos layers serão modificados ou nao |
1093 | 1093 | for ($i = $numlayers-1;$i > 0;$i--){ |
1094 | 1094 | $layerAbaixo = $this->mapa->getlayer($i); |
1095 | 1095 | $tipo = $layerAbaixo->type; |
1096 | + if($tipo == 2 && ($layerAbaixo->getclass(0)->getstyle(0)->color->red == -1)) { | |
1097 | + $tipo = 0; | |
1098 | + } | |
1096 | 1099 | if (($tipo != 2) && ($tipo != 3)){ |
1097 | 1100 | $nummove++; |
1098 | 1101 | } | ... | ... |