fatal error my a$$ . the gamedat check is killing tests for no discernible reason.

This commit is contained in:
Enno Rehling 2018-05-12 22:12:14 +02:00
parent 40125bb75e
commit 79bc22b617

View file

@ -47,7 +47,8 @@ const gamedate *get_gamedate(int turn_now, gamedate * gd)
assert(gd);
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());
}
assert(t>=0);