Changeset 2859

Show
Ignore:
Timestamp:
01/11/12 15:28:50 (4 months ago)
Author:
spf
Message:

Removing the warnings in [2500] led to no good, array was copied instead of passed by ref resulting in weird lines in maps

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/site/map.class.php

    r2803 r2859  
    353353 
    354354         
    355   function addFakeMapPoints($coastarray, $fullres, $prev_x, $prev_y, $curr_x, $curr_y, $coastid, $c = false) { 
     355  function addFakeMapPoints(&$coastarray, $fullres, $prev_x, $prev_y, $curr_x, $curr_y, $coastid, $c = false) { 
    356356    $new_x = -1; 
    357357    $new_y = -1;