forked from github/server
fatal error my a$$ . the gamedat check is killing tests for no discernible reason.
This commit is contained in:
parent
40125bb75e
commit
79bc22b617
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ const gamedate *get_gamedate(int turn_now, gamedate * gd)
|
||||||
|
|
||||||
assert(gd);
|
assert(gd);
|
||||||
if (t<0) {
|
if (t<0) {
|
||||||
log_fatal("current turn %d is before first %d",
|
t = 0;
|
||||||
|
log_error("current turn %d is before first %d",
|
||||||
turn_now, first_turn());
|
turn_now, first_turn());
|
||||||
}
|
}
|
||||||
assert(t>=0);
|
assert(t>=0);
|
||||||
|
|
Loading…
Reference in a new issue