--- oup/current/Global/RawList.pas 2007/04/02 01:07:20 161 +++ oup/current/Global/RawList.pas 2007/04/03 16:03:00 171 @@ -191,20 +191,26 @@ 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); - {y-pos} + {x-z-pos} ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $0C, 4, @link); Result[0].SrcOffset := $0C; Result[0].RawAddr := link; - Result[0].RawSize := frames * 4; - {x-z-pos} + if link > 0 then + Result[0].RawSize := frames * 4 + else + Result[0].RawSize := 0; + {y-pos} 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);