Merge branch 'kwekmaster1911/SkyrimOutfitSystemSE-master'
This commit is contained in:
commit
3b02501f89
1 changed files with 7 additions and 7 deletions
|
|
@ -337,18 +337,18 @@ EndFunction
|
|||
AddHeaderOption("$SkyOutSys_MCMHeader_OutfitList")
|
||||
If _sOutfitNames.Length > 11 ; too many to fit on one screen
|
||||
Int iCount = _sOutfitNames.Length
|
||||
Int iPageCount = iCount / 8
|
||||
If iPageCount * 8 < iCount
|
||||
Int iPageCount = iCount / 11
|
||||
If iPageCount * 11 < iCount
|
||||
iPageCount = iPageCount + 1
|
||||
EndIf
|
||||
If _iOutfitBrowserPage >= iPageCount
|
||||
_iOutfitBrowserPage = iPageCount - 1
|
||||
EndIf
|
||||
Int iOffset = _iOutfitBrowserPage * 8
|
||||
Int iOffset = _iOutfitBrowserPage * 11
|
||||
Int iIterator = 0
|
||||
Int iMax = iCount - _iOutfitBrowserPage
|
||||
If iMax > 8 ; (visible - 3) -- make room for page separator and buttons
|
||||
iMax = 8
|
||||
Int iMax = iCount - iOffset
|
||||
If iMax > 11
|
||||
iMax = 11
|
||||
EndIf
|
||||
While iIterator < iMax
|
||||
String sName = _sOutfitNames[iIterator + iOffset]
|
||||
|
|
@ -892,4 +892,4 @@ EndFunction
|
|||
EndState
|
||||
;/EndBlock/;
|
||||
;/EndBlock/;
|
||||
;/EndBlock/;
|
||||
;/EndBlock/;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue