well, im having this problem that is quite aggrivating. it deals with some coding that is for one of my games in c++ (obviously), dos program...not win32. ignore the variable names and see if the syntax is right, please. if anything can find anything wrong with the syntax, please let me know. thanks in advance.
Code:nummoves++; if (incroh==1 || inelvencity==1 || inelvenpalace==1 || inminoisland==1) { if ((nummoves%5==0) && lvl75mod==1) { charhp++; if (charhp>=charmaxhp) { charhp=charmaxhp; } } if ((nummoves%5==0) && lvl75mod==2) { charmp++; if (charmp>=charmaxmp) { charmp=charmaxmp; } } if ((nummoves%5==0) && lvl75mod==0) { charhp=charhp; charmp=charmp; } }