--- oup/current/Global/RawList.pas 2007/04/01 16:44:29 149 +++ oup/current/Global/RawList.pas 2007/04/03 15:43:53 169 @@ -191,7 +191,7 @@ var templ: Integer; Data: TByteData; offset: Word; - frame_count: Byte; + frame_count: Integer; begin SetLength(Result, 13); ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $16C, 2, @frames); @@ -204,7 +204,10 @@ begin ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $10, 4, @link); Result[1].SrcOffset := $10; Result[1].RawAddr := link; - Result[1].RawSize := frames * 8; + if link > 0 then + Result[1].RawSize := frames * 8 + else + Result[1].RawSize := 0; {attacks} ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $182, 1, @tempb); ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $14, 4, @link); @@ -222,7 +225,7 @@ begin ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $1C, 4, @link); Result[4].SrcOffset := $1C; Result[4].RawAddr := link; - Result[4].RawSize := tempb * 8; + Result[4].RawSize := tempb * 12; {shortcut} ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $185, 1, @tempb); ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $20, 4, @link);