forked from github/server
kaputtes assert gefixt. davon sind evtl. noch welche im source
This commit is contained in:
parent
9067a238cc
commit
3fe43b2a40
|
@ -337,7 +337,7 @@ reduce_skill(unit *u, skill * sv, int weeks)
|
|||
reroll = true;
|
||||
}
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue