In the latter part of this function (I left out the last part) there's a lot of arithmetic, and it's easier for me if I don't do something like:
char->hp = BASE + MULTIPLIER * char->hp
It's just I have a problem with keeping track of things, really confuses me >_<
But problem has been fixed...
Hi all,
I'm making a game and I have a problem inside a function. I've included the typedef of the characters struct and the function that makes use of this struct. I've marked where the problem occurs with a comment.
What happens is, when the function reaches the point where i've marked the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.