ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/exp.C
(Generate patch)

Comparing deliantra/server/common/exp.C (file contents):
Revision 1.8 by pippijn, Mon Dec 11 21:06:58 2006 UTC vs.
Revision 1.9 by root, Mon Dec 11 21:32:15 2006 UTC

202 /* Do some sanity checking - if value is bogus, just exit because 202 /* Do some sanity checking - if value is bogus, just exit because
203 * the table otherwise is probably in an inconsistent state 203 * the table otherwise is probably in an inconsistent state
204 */ 204 */
205 if (tmpexp <= lastexp) 205 if (tmpexp <= lastexp)
206 { 206 {
207 LOG (llevError, "Experience for level %d is lower than previous level (%" I64_PFd " <= %" I64_PFd ")\n", lastlevel + 1, tmpexp, lastexp); 207 LOG (llevError, "Experience for level %d is lower than previous level (%" PRId64 " <= %" PRId64 ")\n", lastlevel + 1, tmpexp, lastexp);
208 exit (1); 208 exit (1);
209 } 209 }
210 lastlevel++; 210 lastlevel++;
211 if (lastlevel > settings.max_level) 211 if (lastlevel > settings.max_level)
212 { 212 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines