edit: Suppress bulletin on no-op unit location change

Screwed up in commit a03d804f, v4.3.32.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2013-12-29 20:30:14 +01:00
parent 5dd2cbd423
commit b68b3c4589
2 changed files with 2 additions and 3 deletions

View file

@ -781,6 +781,8 @@ edit_unit(struct empobj *unit, char *key, char *p,
"from %s to %s",
xyas(unit->x, unit->y, player->cnum),
xyas(newx, newy, player->cnum));
if (newx == unit->x && newy == unit->y)
break;
if (unit->own && unit->own != player->cnum)
wu(0, unit->own,
"Location of %s changed from %s to %s by an act of %s!\n",