summaryrefslogtreecommitdiff
path: root/src/exporter.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/exporter.py')
-rw-r--r--src/exporter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exporter.py b/src/exporter.py
index ed377c3..e6ba38a 100644
--- a/src/exporter.py
+++ b/src/exporter.py
@@ -268,12 +268,12 @@ class KPMapExporter:
requiredFixUps.append((len(data) - 8, texture))
for anim in doodad.animations:
- rLoop, rCurve, rFrames, rType, rStart, rEnd = anim
+ rLoop, rCurve, rFrames, rType, rStart, rEnd, rDelay, rDelayOffset = anim
loopid = self.ANIM_LOOPS.index(rLoop)
curveid = self.ANIM_CURVES.index(rCurve)
typeid = self.ANIM_TYPES.index(rType)
- data += struct.pack('>iiiiiiii', loopid, curveid, rFrames, typeid, rStart, rEnd, 0, 0)
+ data += struct.pack('>iiiiiiiiii', loopid, curveid, rFrames, typeid, rStart, rEnd, rDelay, rDelayOffset, 0, 0)
elif isinstance(eLayer, self.PathLayerExporter):
data += u32.pack(2)
@@ -343,7 +343,7 @@ class KPMapExporter:
if node.isStop():
if node.level:
level1, level2 = node.level
- data += struct.pack('>ibbbb', 2, level1, level2, 0, 0)
+ data += struct.pack('>ibbibb', 2, level1, level2, 0, 0, 0)
elif node.mapChange:
data += u32.pack(3)