equal
deleted
inserted
replaced
1834 static void Load_ORDR() |
1834 static void Load_ORDR() |
1835 { |
1835 { |
1836 if (CheckSavegameVersionOldStyle(5, 2)) { |
1836 if (CheckSavegameVersionOldStyle(5, 2)) { |
1837 /* Version older than 5.2 did not have a ->next pointer. Convert them |
1837 /* Version older than 5.2 did not have a ->next pointer. Convert them |
1838 (in the old days, the orderlist was 5000 items big) */ |
1838 (in the old days, the orderlist was 5000 items big) */ |
1839 uint len = SlGetFieldLength(); |
1839 size_t len = SlGetFieldLength(); |
1840 uint i; |
1840 uint i; |
1841 |
1841 |
1842 if (CheckSavegameVersion(5)) { |
1842 if (CheckSavegameVersion(5)) { |
1843 /* Pre-version 5 had an other layout for orders |
1843 /* Pre-version 5 had an other layout for orders |
1844 (uint16 instead of uint32) */ |
1844 (uint16 instead of uint32) */ |