Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
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);
uid owner xloc yloc type effic mobil off tech opx opy mission radius wing range harden ship land flags access theta
0 0 1 -1 0 0 2 0 100 0 0 none 0 "" 9 0 -1 -1 () 0 0.00000
1 98 1 -1 0 10 0 0 100 0 0 none 0 "" 9 0 -1 -1 () 0 0.00000
-2 2 3 -1 0 10 -127 0 50 1 -1 air\040defense 4 "" 0 0 -1 -1 (airburst) 0 0.00000
+2 2 3 -1 0 10 -127 0 50 3 -1 air\040defense 4 "" 0 0 -1 -1 (airburst) 0 0.00000
3 3 1 -1 0 10 -127 0 50 1 -1 air\040defense 4 "a" 0 0 3 -1 () 0 0.00000
4 3 3 -1 0 100 127 0 32767 0 0 none 0 "" 18 0 -1 4 () 0 0.00000
5 3 1 -1 0 100 127 0 32767 1 -1 air\040defense 4 "" 18 0 -1 -1 () 0 0.00000