changeset 103:989731f847b1 gmap2

Merge.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 20 Nov 2012 13:07:29 +0200
parents 7d0cd66ec1cf (current diff) 6f472c98780a (diff)
children 3935ffb723d1
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/makegmaps.php	Sat Dec 24 18:18:08 2011 +0200
+++ b/tools/makegmaps.php	Tue Nov 20 13:07:29 2012 +0200
@@ -371,7 +371,7 @@
 {
   $html = "<b>TRADELANE WPT</b><br>".htmlentities($name);
 
-  if (!getWorldCoords($data[0], $data[1], $data[2], &$xc, &$yc))
+  if (!getWorldCoords($data[0], $data[1], $data[2], $xc, $yc))
     die("Invalid tradelane waypoint '".$name."', continent '".$data[0]."' not defined.\n");
 
   $node = $doc->createElement("marker");
@@ -402,7 +402,7 @@
   $line = $parnode->appendChild($node);
   foreach ($points as $point)
   {
-    if (!getWaypointCoords($point, &$xc, &$yc))
+    if (!getWaypointCoords($point, $xc, $yc))
       die("Invalid tradelane definition #$index: waypoint '".$point."' not defined.\n");
 
     $elem = $doc->createElement("point");