Skip to content

Commit

Permalink
tr1/inv-ring: fix item counts staying at 1
Browse files Browse the repository at this point in the history
Resolves #2390. Regression made in 529d482.
  • Loading branch information
rr- committed Jan 25, 2025
1 parent 4a4f4ef commit 697ec1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tr1/game/inventory_ring/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,6 @@ INV_RING *InvRing_Open(const INVENTORY_MODE mode)

g_InvRing_Source[RT_MAIN].current = 0;
for (int32_t i = 0; i < g_InvRing_Source[RT_MAIN].count; i++) {
g_InvRing_Source[RT_MAIN].qtys[i] = 1;
InvRing_InitInvItem(g_InvRing_Source[RT_MAIN].items[i]);
}
g_InvRing_Source[RT_OPTION].current = 0;
Expand Down

0 comments on commit 697ec1f

Please sign in to comment.