Changeset 209 for oup/current/Global
- Timestamp:
- Jun 5, 2007, 12:07:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Global/RawList.pas
r178 r209 200 200 Result[0].SrcOffset := $0C; 201 201 Result[0].RawAddr := link; 202 if link > 0 then 203 Result[0].RawSize := frames * 4 204 else 205 Result[0].RawSize := 0; 202 Result[0].RawSize := frames * 4; 206 203 {y-pos} 207 204 ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $10, 4, @link); 208 205 Result[1].SrcOffset := $10; 209 206 Result[1].RawAddr := link; 210 if link > 0 then 211 Result[1].RawSize := frames * 8 212 else 213 Result[1].RawSize := 0; 207 Result[1].RawSize := frames * 8; 214 208 {attacks} 215 209 ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $182, 1, @tempb); … … 240 234 Result[6].SrcOffset := $24; 241 235 Result[6].RawAddr := link; 242 if link > 0 then 243 Result[6].RawSize := 24 244 else 245 Result[6].RawSize := 0; 236 Result[6].RawSize := 24; 246 237 {footstep} 247 238 ConManager.Connection[ConnectionID].LoadDatFilePart(fileid, $186, 1, @tempb); … … 410 401 Break; 411 402 end; 403 if Length(Result) > 0 then 404 for i := 0 to High(Result) do 405 if Result[i].RawAddr = 0 then 406 Result[i].RawSize := 0; 412 407 end; 413 408
Note:
See TracChangeset
for help on using the changeset viewer.