Changeset 391 for dev/mods/ext_fitting

Show
Ignore:
Timestamp:
06/24/09 14:17:02 (11 years ago)
Author:
kovell
Message:

Fixes: kill_detail comment posting works and non-existent kll_id gives correct error, t3 subsystems have correct location, potential conflicts with old mods and db classes removed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/ext_fitting/kill_detail.php

    r370 r391  
    257257        } 
    258258        $i_name = $item->getName(); 
    259         $i_location = $destroyed->getLocationID(); 
    260         $i_id = $item->getID(); 
    261         $i_usedgroup = $item->get_used_launcher_group($i_name); 
    262         $dest_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 
     259                $i_location = $destroyed->getLocationID(); 
     260                if($i_location == 7) $i_location = 4; 
     261                $i_id = $item->getID(); 
     262                $i_usedgroup = $item->get_used_launcher_group($i_name); 
     263                $dest_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 
    263264                 
    264265                //Fitting, KE - add destroyed items to an array of all fitted items. 
     
    317318        } 
    318319        $i_name = $item->getName(); 
    319         $i_location = $dropped->getLocationID(); 
    320         $i_id = $item->getID(); 
    321         $i_usedgroup = $item->get_used_launcher_group($i_name); 
     320                $i_location = $dropped->getLocationID(); 
     321                if($i_location == 7) $i_location = 4; 
     322                $i_id = $item->getID(); 
     323                $i_usedgroup = $item->get_used_launcher_group($i_name); 
    322324        $drop_array[$i_location][] = array('Icon' => $item->getIcon(32), 'Name' => $i_name, 'Quantity' => $i_qty, 'Value' => $formatted, 'single_unit' => $value, 'itemID' => $i_id,'slotID' => $i_location); 
    323325