mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-24 21:02:06 +00:00
format of origin string was wrong
This commit is contained in:
parent
0a1864a583
commit
0300910166
1 changed files with 4 additions and 1 deletions
|
@ -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])]];
|
||||
|
|
Loading…
Reference in a new issue