forked from github/server
crash
This commit is contained in:
parent
3e09fc0c7d
commit
8d5ee9c811
|
@ -2420,7 +2420,7 @@ is_moving_ship(const region * r, const ship *sh)
|
|||
{
|
||||
const unit *u = shipowner(sh);
|
||||
|
||||
switch (get_keyword(u->thisorder)) {
|
||||
if (u) switch (get_keyword(u->thisorder)) {
|
||||
case K_ROUTE:
|
||||
case K_MOVE:
|
||||
case K_FOLLOW:
|
||||
|
|
Loading…
Reference in New Issue