Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pieles #526

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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