|
@@ -110,11 +110,11 @@ |
|
|
block discarded – undo |
|
110
|
110
|
} |
|
111
|
111
|
\imagecopyresized($tmpImageResource, $l_leg, 8, 20, 0, 0, 4, 12, 4, 12); |
|
112
|
112
|
|
|
113
|
|
- $scale = $skin_height / 32; |
|
|
113
|
+ $scale = $skin_height/32; |
|
114
|
114
|
if ($scale === 0) { |
|
115
|
115
|
$scale = 1; |
|
116
|
116
|
} |
|
117
|
|
- $skin_width = (int) \round($scale * (16)); |
|
|
117
|
+ $skin_width = (int) \round($scale*(16)); |
|
118
|
118
|
|
|
119
|
119
|
$this->imgResource = $this->emptyBaseImage($skin_width, $skin_height); |
|
120
|
120
|
\imagecopyresized($this->imgResource, $tmpImageResource, 0, 0, 0, 0, $skin_width, $skin_height, 16, 32); |
Please login to merge, or discard this patch.