forked from github/server
Folgen von Schiffen funktioniert nicht (Nachtrag).
This commit is contained in:
parent
42c8902729
commit
1e17981a1f
2 changed files with 4 additions and 13 deletions
|
@ -2259,11 +2259,9 @@ move_hunters(void)
|
||||||
while (*up!=NULL) {
|
while (*up!=NULL) {
|
||||||
unit * u = *up;
|
unit * u = *up;
|
||||||
|
|
||||||
if (!fval(u, FL_DH)) {
|
if (!fval(u, UFL_MOVED)) {
|
||||||
order * ord;
|
order * ord;
|
||||||
|
|
||||||
fset(u, FL_DH);
|
|
||||||
|
|
||||||
for (ord=u->orders;ord;ord=ord->next) {
|
for (ord=u->orders;ord;ord=ord->next) {
|
||||||
if (get_keyword(ord) == K_FOLLOW) {
|
if (get_keyword(ord) == K_FOLLOW) {
|
||||||
param_t p;
|
param_t p;
|
||||||
|
|
|
@ -64,19 +64,12 @@ write_game(const char *filename)
|
||||||
return writegame(filename, 0);
|
return writegame(filename, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
|
||||||
write_reports()
|
|
||||||
{
|
|
||||||
reports();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static summary * sum_begin = 0;
|
static summary * sum_begin = 0;
|
||||||
|
|
||||||
static int
|
static int
|
||||||
init_summary()
|
init_summary()
|
||||||
{
|
{
|
||||||
sum_begin = make_summary(false);
|
sum_begin = make_summary();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +77,7 @@ static int
|
||||||
write_summary()
|
write_summary()
|
||||||
{
|
{
|
||||||
if (sum_begin) {
|
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, false);
|
||||||
report_summary(sum_end, sum_begin, true);
|
report_summary(sum_end, sum_begin, true);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -205,7 +198,7 @@ bind_eressea(lua_State * L)
|
||||||
def("read_game", &read_game),
|
def("read_game", &read_game),
|
||||||
def("write_game", &write_game),
|
def("write_game", &write_game),
|
||||||
def("write_passwords", &writepasswd),
|
def("write_passwords", &writepasswd),
|
||||||
def("write_reports", &write_reports),
|
def("write_reports", &reports),
|
||||||
def("init_summary", &init_summary),
|
def("init_summary", &init_summary),
|
||||||
def("write_summary", &write_summary),
|
def("write_summary", &write_summary),
|
||||||
def("read_orders", &readorders),
|
def("read_orders", &readorders),
|
||||||
|
|
Loading…
Reference in a new issue