Difference between revisions of "GetFormFromFile - Game"
Jump to navigation
Jump to search
m
→Examples: Omitted '> 0' as iIndex is cast as 'False' when it counts down to 0, ending the loop on time after all.
imported>Alfwyn m (→Examples: consistency in comments) |
imported>JustinOther m (→Examples: Omitted '> 0' as iIndex is cast as 'False' when it counts down to 0, ending the loop on time after all.) |
||
Line 39: | Line 39: | ||
Function CheckForDLC() | Function CheckForDLC() | ||
Int iIndex = sDLCName.Length | Int iIndex = sDLCName.Length | ||
While iIndex | While iIndex | ||
iIndex -= 1 | iIndex -= 1 | ||
If bDLCIsLoaded[iIndex] != Game.GetFormFromFile(iKnownFormID[iIndex], sDLCName[iIndex]) | If bDLCIsLoaded[iIndex] != Game.GetFormFromFile(iKnownFormID[iIndex], sDLCName[iIndex]) |