edit: Keep missions centered on unit centered when teleporting
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
10f6322594
commit
c7af9bd955
2 changed files with 2 additions and 3 deletions
|
@ -817,8 +817,7 @@ edit_unit(struct empobj *unit, char *key, char *p,
|
|||
xyas(unit->x, unit->y, unit->own),
|
||||
xyas(newx, newy, unit->own),
|
||||
cname(player->cnum));
|
||||
unit->x = newx;
|
||||
unit->y = newy;
|
||||
unit_teleport(unit, newx, newy);
|
||||
break;
|
||||
case 'E':
|
||||
arg = LIMIT_TO(arg, mineff, 100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue