17.07.2017, 20:31
Quote:
Make a Boolean variable (Add it to your existing enum) to determine if that inventory slot is in use. Make it in use (true) when the player receive an item..
When the player drop the item..Make the slot (false) Then here when you are looping though them add another check of it to check if the variable in use (true). That's it |