forked from github/server
parent
8067ff96ee
commit
7fe8892e2d
|
@ -618,7 +618,7 @@ build(unit * u, const construction * ctype, int completed, int want)
|
||||||
completed = completed % type->maxsize;
|
completed = completed % type->maxsize;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
completed = 0; assert(type->reqsize==1);
|
completed = 0; assert(type->reqsize>=1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (basesk < type->minskill) {
|
if (basesk < type->minskill) {
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
/* libc includes */
|
/* libc includes */
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
newfaction * newfactions = NULL;
|
newfaction * newfactions = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue