Skip to content

Commit

Permalink
Merge pull request #526 from Wyr0X/fix-pieles
Browse files Browse the repository at this point in the history
Fix pieles
  • Loading branch information
RecoX authored Mar 8, 2024
2 parents 4198ce3 + e644d95 commit 9892d63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Codigo/CharacterPersistence.bas
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Public Function LoadCharacterBank(ByVal UserIndex As Integer) As Boolean
368 If Not RS Is Nothing Then
372 While Not RS.EOF
374 With .BancoInvent.Object(RS!Number)
376 .ObjIndex = IIf(RS!item_id < UBound(ObjData), RS!item_id, 0)
376 .ObjIndex = IIf(RS!item_id <= UBound(ObjData), RS!item_id, 0)
378 If .ObjIndex <> 0 Then
380 If LenB(ObjData(.ObjIndex).name) Then
counter = counter + 1
Expand Down Expand Up @@ -101,7 +101,7 @@ Public Function LoadCharacterInventory(ByVal UserIndex As Integer) As Boolean
106 If Not RS Is Nothing Then
108 While Not RS.EOF
110 With .invent.Object(RS!Number)
112 .ObjIndex = IIf(RS!item_id < UBound(ObjData), RS!item_id, 0)
112 .ObjIndex = IIf(RS!item_id <= UBound(ObjData), RS!item_id, 0)
114 If .ObjIndex <> 0 Then
116 If LenB(ObjData(.ObjIndex).name) Then
118 counter = counter + 1
Expand Down

0 comments on commit 9892d63

Please sign in to comment.