problem with my game

why is line 45 and 46 is printing out though i havent called it.

http://codeviewer.org/view/code:4506

this is the first time i encountered this kinda error
Do you mean the functions you've passed? You are calling them and putting their return result in the array; to get that return result, they need to be called.

I think what you are really looking for is the skins array to be an array of function pointers so you can call any one of them through the array. Am I right? You're going to need to change your code a bit since it seems like that's what you want, but it isn't what you're code actually is doing.
instance, they want to change skin so i will just have to call the array
Last edited on
also i dont have any idea how would i change it
Topic archived. No new replies allowed.