… | |
… | |
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 | { |