summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-29 06:46:22 +0200
committerTreeki <treeki@gmail.com>2012-09-29 06:46:22 +0200
commitaa107026914ff20014d518bbea75e6728b932617 (patch)
treef3cecaeebb098543e5e779bed47620d143c0255d
parent940fec2a51a7dee50c4f6ae898dca8881108617b (diff)
downloadkoopatlas-aa107026914ff20014d518bbea75e6728b932617.tar.gz
koopatlas-aa107026914ff20014d518bbea75e6728b932617.zip
quick worlddef format change
-rw-r--r--src/exporter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exporter.py b/src/exporter.py
index 23484c3..f6798c7 100644
--- a/src/exporter.py
+++ b/src/exporter.py
@@ -421,7 +421,7 @@ class KPMapExporter:
except ValueError:
convertedWorldID = ord(world.worldID) - ord('A') + 10
- data += struct.pack('>BBBB BBBB BBBB BBBB BBBB BBBB Bbb BBB BB',
+ data += struct.pack('>BBBB BBBB BBBB BBBB BBBB BBBB hbb BBB B',
fst1[0],fst1[1],fst1[2],fst1[3],
fst2[0],fst2[1],fst2[2],fst2[3],
fsh1[0],fsh1[1],fsh1[2],fsh1[3],
@@ -431,7 +431,7 @@ class KPMapExporter:
htf[0],htf[1],htf[2],
world.uniqueKey, world.musicTrackID,
convertedWorldID,
- 0, 0
+ 0
)
# now that we're almost done... pack the strings