forked from github/server
Merge branch 'develop' of github.com:ennorehling/eressea into develop
This commit is contained in:
commit
9b54784c94
|
@ -2279,7 +2279,7 @@ int follow_ship(unit * u, order * ord)
|
|||
speed = maxspeed;
|
||||
}
|
||||
rc = rconnect(rc, dir);
|
||||
while (rc && rc != sh->region && moves < speed && (dir = hunted_dir(rc->attribs, id)) != NODIRECTION) {
|
||||
while (rc && (!sh || rc != sh->region) && moves < speed && (dir = hunted_dir(rc->attribs, id)) != NODIRECTION) {
|
||||
const char *loc = LOC(u->faction->locale, directions[dir]);
|
||||
sbs_strcat(&sbcmd, " ");
|
||||
sbs_strcat(&sbcmd, loc);
|
||||
|
|
Loading…
Reference in New Issue