mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-27 22:04:46 +00:00
tag names moved to constants
This commit is contained in:
@@ -1186,7 +1186,7 @@ public class SWFOutputStream extends OutputStream {
|
||||
*/
|
||||
public void writeFILLSTYLEARRAY(FILLSTYLEARRAY value, int shapeNum) throws IOException {
|
||||
int fillStyleCount = value.fillStyles.length;
|
||||
if (shapeNum == 2 || shapeNum == 3) {
|
||||
if (shapeNum > 1) {
|
||||
if (fillStyleCount >= 0xff) {
|
||||
writeUI8(0xff);
|
||||
writeUI16(fillStyleCount);
|
||||
@@ -1303,7 +1303,7 @@ public class SWFOutputStream extends OutputStream {
|
||||
*/
|
||||
public void writeLINESTYLEARRAY(LINESTYLEARRAY value, int shapeNum) throws IOException {
|
||||
int lineStyleCount;
|
||||
if (shapeNum == 1 || shapeNum == 2 || shapeNum == 3) {
|
||||
if (shapeNum <= 3) {
|
||||
lineStyleCount = value.lineStyles.length;
|
||||
if (lineStyleCount >= 0xff) {
|
||||
writeUI8(0xff);
|
||||
|
||||
Reference in New Issue
Block a user