But ignoring that; yes, the logic is otherwise OK, as long as you index the array properly. You probably want this instead though:
if(exp>=exptilnextlevel[level])
{
++level;
}
Posted 17 February 2012 - 05:41 PM
if(exp>=exptilnextlevel[level])
{
++level;
}
Posted 17 February 2012 - 05:40 PM
if(exp>=exptilnextlevel[level])
{
++level;
}
Posted 17 February 2012 - 05:40 PM
if(exp>=exptilnextlevel[level])
{
++level;
}