forked from github/server
Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
commit
e46826a89c
|
@ -855,7 +855,7 @@ static void drifting_ships(region * r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (firstu != NULL) {
|
if (rnext && firstu) {
|
||||||
message *msg = msg_message("ship_drift", "ship dir", sh, dir);
|
message *msg = msg_message("ship_drift", "ship dir", sh, dir);
|
||||||
msg_to_ship_inmates(sh, &firstu, &lastu, msg);
|
msg_to_ship_inmates(sh, &firstu, &lastu, msg);
|
||||||
}
|
}
|
||||||
|
@ -873,7 +873,7 @@ static void drifting_ships(region * r)
|
||||||
sink_ship(sh);
|
sink_ship(sh);
|
||||||
remove_ship(shp, sh);
|
remove_ship(shp, sh);
|
||||||
}
|
}
|
||||||
else if (rnext != NULL) {
|
else if (rnext) {
|
||||||
/* Das Schiff und alle Einheiten darin werden nun von r
|
/* Das Schiff und alle Einheiten darin werden nun von r
|
||||||
* nach rnext verschoben. Danach eine Meldung. */
|
* nach rnext verschoben. Danach eine Meldung. */
|
||||||
add_regionlist(&route, rnext);
|
add_regionlist(&route, rnext);
|
||||||
|
|
Loading…
Reference in New Issue