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 168 by alloc, Tue Apr 3 03:24:51 2007 UTC vs.
Revision 169 by alloc, Tue Apr 3 15:43:53 2007 UTC

# 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)