kaputtes assert gefixt. davon sind evtl. noch welche im source

This commit is contained in:
Enno Rehling 2002-02-23 16:22:56 +00:00
parent 9067a238cc
commit 3fe43b2a40
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ reduce_skill(unit *u, skill * sv, int weeks)
reroll = true; reroll = true;
} }
if (reroll) sv->weeks = (unsigned char)skill_weeks(sv->level); if (reroll) sv->weeks = (unsigned char)skill_weeks(sv->level);
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);
} }
int int