21.07.2013, 10:27
For some reason you are starting you array from 1, not 0. Don't do this, because you are wasting memory. Also this causes HasClothes to point on wrong key. If you add 4 items to clothes and delete 2, then 3 will move to 2, but 4 won't budge