From 7145e658d7847194642d7a5a5b7d76ab9d9a01c7 Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 30 Apr 2013 18:02:25 +0200 Subject: add Tiling_Cloud to RGBA8 hardcode list --- src/exporter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/exporter.py b/src/exporter.py index d396eb2..98307d4 100644 --- a/src/exporter.py +++ b/src/exporter.py @@ -286,7 +286,8 @@ class KPMapExporter: w, h = doodad.size data += struct.pack('>fffffii', x, y, w, h, doodad.angle, 0, len(doodad.animations)) - is_rgba8 = (doodad.source[0].startswith('Cloud')) + is_rgba8 = doodad.source[0].startswith('Cloud') or \ + doodad.source[0].startswith('Tiling_Cloud') texInfo.add((doodad.source[0], doodad.source[1].height() * doodad.source[1].width() * (4 if is_rgba8 else 2))) texture = doodad.source[1] -- cgit v1.2.3