Bad Boy JH
2010-06-01 04:20:11
procedure R_DumpItems(Items: TInvItemArray);
var
i: integer;
begin
for i := 0 to High(Items)do
begin
Writeln('Slot: '+ToStr(Items[i].Slot));
Writeln(' '+Items[i].Name);
Writeln(' ID:'+ToStr(Items[i].ID));
Writeln(' Stack Size:'+ToStr(Items[i].ID));
Writeln(' Actions:'+ToStr(Items[i].Actions));
end;
end; The 4th Writeln is Incorrect and should be
Writeln(' Stack Size:'+ToStr(Items[1].StackSize));