ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/Global/RawList.pas
(Generate patch)

Comparing oup/current/Global/RawList.pas (file contents):
Revision 161 by alloc, Mon Apr 2 01:07:20 2007 UTC vs.
Revision 169 by alloc, Tue Apr 3 15:43:53 2007 UTC

# Line 191 | Line 191 | var
191    templ:  Integer;
192    Data:   TByteData;
193    offset: Word;
194 <  frame_count: Byte;
194 >  frame_count: Integer;
195   begin
196    SetLength(Result, 13);
197    ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $16C, 2, @frames);
# Line 204 | Line 204 | begin
204    ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $10, 4, @link);
205    Result[1].SrcOffset := $10;
206    Result[1].RawAddr   := link;
207 <  Result[1].RawSize   := frames * 8;
207 >  if link > 0 then
208 >    Result[1].RawSize := frames * 8
209 >  else
210 >    Result[1].RawSize := 0;
211    {attacks}
212    ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $182, 1, @tempb);
213    ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $14, 4, @link);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)