- assert war zu scharf

- stdlib.h
This commit is contained in:
Christian Schlittchen 2002-03-17 11:42:23 +00:00
parent 8067ff96ee
commit 7fe8892e2d
2 changed files with 2 additions and 1 deletions

View File

@ -618,7 +618,7 @@ build(unit * u, const construction * ctype, int completed, int want)
completed = completed % type->maxsize;
}
else {
completed = 0; assert(type->reqsize==1);
completed = 0; assert(type->reqsize>=1);
}
if (basesk < type->minskill) {

View File

@ -22,6 +22,7 @@
/* libc includes */
#include <limits.h>
#include <memory.h>
#include <stdlib.h>
newfaction * newfactions = NULL;