format of origin string was wrong

This commit is contained in:
Bill Currie 2006-12-20 12:16:16 +00:00
parent 0a1864a583
commit 0300910166

View file

@ -331,7 +331,10 @@ Waypoint Loading from file
local PLItem l = [PLItem newArray];
local integer i;
[way addKey:"origin" value:[PLItem newString:vtos (origin)]];
[way addKey:"origin" value:[PLItem newString:sprintf ("%g %g %g",
origin.x,
origin.y,
origin.z)]];
for (i = 0; i < 4; i++) {
if (links[i])
[l addObject:[PLItem newString:itos ([links[i] id])]];