Another C++ function error :/

I'm trying to make XP go to 0 after the player levels up but I don't know how to do that.

Here is what I have:

You are viewing a single comment. View All

Maybe store the last level that the player achieved and check if that is less than the current level. If so, then clear the XP.