Changeset 171 for oup/current/Global


Ignore:
Timestamp:
Apr 3, 2007, 6:03:00 PM (18 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • oup/current/Global/RawList.pas

    r169 r171  
    196196  SetLength(Result, 13);
    197197  ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $16C, 2, @frames);
    198   {y-pos}
     198  {x-z-pos}
    199199  ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $0C, 4, @link);
    200200  Result[0].SrcOffset := $0C;
    201201  Result[0].RawAddr   := link;
    202   Result[0].RawSize   := frames * 4;
    203   {x-z-pos}
     202  if link > 0 then
     203    Result[0].RawSize := frames * 4
     204  else
     205    Result[0].RawSize := 0;
     206  {y-pos}
    204207  ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $10, 4, @link);
    205208  Result[1].SrcOffset := $10;
Note: See TracChangeset for help on using the changeset viewer.