noch so ein assert

This commit is contained in:
Enno Rehling 2002-02-23 16:29:21 +00:00
parent 3fe43b2a40
commit aad9405373
1 changed files with 1 additions and 1 deletions

View File

@ -2076,7 +2076,7 @@ writegame(char *path, char quiet)
#else
for (i=0;i!=u->skill_size;++i) {
skill * sv = u->skills+i;
assert(sv->level>=0 && sv->weeks>=0 && sv->weeks<=sv->level*2);
assert(sv->level>=0 && sv->weeks>=0 && sv->weeks<=sv->level*2+1);
if (sv->level>0) {
wi(F, sv->id);
wi(F, sv->level);