From 09de3cf13e2d46d2c6e3c1a89b42e22d159a3037 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 5 Oct 2005 00:11:51 +0000 Subject: Made level files little endian --- level.bmx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/level.bmx b/level.bmx index 8535a64..254ac5d 100644 --- a/level.bmx +++ b/level.bmx @@ -244,6 +244,8 @@ Type TLevelSet TLevelException.Error(file + " couldn't be opened") EndIf + s=LittleEndianStream(s) + Local o:TLevelSet=New TLevelSet Local c:Int @@ -274,6 +276,8 @@ Type TLevelSet Return False EndIf + s=LittleEndianStream(s) + s.WriteLine(MAGIC) s.WriteLine(CurrentDate()+CurrentTime()) s.WriteLine(name) -- cgit v1.2.3