Quote:
Originally Posted by KliPPy
Code:
i < MAX_WEAPON_SLOTS + 1
I believe you don't need that + 1.
|
That was it, many thanks ! I tought that I needed + 1 beucase there are slots from 1 to 7 so that the loop will end at 6. But I guess since slots are actually starting from 0 and slot1 is like 0 the - 1 wasn't needed. Was a bit confused due to how the binds were in the game.