Folgen von Schiffen funktioniert nicht (Nachtrag).
This commit is contained in:
Enno Rehling 2005-04-24 21:46:53 +00:00
parent 42c8902729
commit 1e17981a1f
2 changed files with 4 additions and 13 deletions

View File

@ -2259,11 +2259,9 @@ move_hunters(void)
while (*up!=NULL) {
unit * u = *up;
if (!fval(u, FL_DH)) {
if (!fval(u, UFL_MOVED)) {
order * ord;
fset(u, FL_DH);
for (ord=u->orders;ord;ord=ord->next) {
if (get_keyword(ord) == K_FOLLOW) {
param_t p;

View File

@ -64,19 +64,12 @@ write_game(const char *filename)
return writegame(filename, 0);
}
static int
write_reports()
{
reports();
return 0;
}
static summary * sum_begin = 0;
static int
init_summary()
{
sum_begin = make_summary(false);
sum_begin = make_summary();
return 0;
}
@ -84,7 +77,7 @@ static int
write_summary()
{
if (sum_begin) {
summary * sum_end = make_summary(true);
summary * sum_end = make_summary();
report_summary(sum_end, sum_begin, false);
report_summary(sum_end, sum_begin, true);
return 0;
@ -205,7 +198,7 @@ bind_eressea(lua_State * L)
def("read_game", &read_game),
def("write_game", &write_game),
def("write_passwords", &writepasswd),
def("write_reports", &write_reports),
def("write_reports", &reports),
def("init_summary", &init_summary),
def("write_summary", &write_summary),
def("read_orders", &readorders),