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.6 by root, Thu Sep 14 22:33:58 2006 UTC vs.
Revision 1.7 by pippijn, Mon Dec 11 19:46:46 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#ifndef WIN32
208 LOG (llevError, "Experience for level %d is lower than previous level (%lld <= %lld)\n", lastlevel + 1, tmpexp, lastexp); 207 LOG (llevError, "Experience for level %d is lower than previous level (%lld <= %lld)\n", lastlevel + 1, tmpexp, lastexp);
209#else
210 LOG (llevError, "Experience for level %d is lower than previous level (%I64d <= %I64d)\n", lastlevel + 1, tmpexp, lastexp);
211#endif
212 exit (1); 208 exit (1);
213 } 209 }
214 lastlevel++; 210 lastlevel++;
215 if (lastlevel > settings.max_level) 211 if (lastlevel > settings.max_level)
216 { 212 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines