// Fix bad reload locators for several islands, wrong direction for .ay
// Should work by fixing islands_init.c, but may not run preprocessor correctly,
// needs to run IslandsInit() in console for changes to islands_init.c to apply
// Note: 0.1 radians is about 6 degrees
TraceAndLog("*** Fixing ship direction at ports");
for (i=0 ; i<ISLANDS_QUANTITY ; i++)
{
if ( Islands[i].id == "QuebradasCostillas" )
{
Islands[i].reload.l1.ships.l0.ay = 3.0;
TraceAndLog("** Fixed Nevis");
}
if ( Islands[i].id == "Turks" )
{
Islands[i].reload.l1.ships.l0.ay = 3.0;
TraceAndLog("** Fixed Turks");
}
if ( Islands[i].id == "Conceicao" )
{
Islands[i].reload.l1.ships.l0.ay = -1.5;
TraceAndLog("** Fixed Grenada");
}
if ( Islands[i].id == "Cuba" )
{
Islands[i].reload.l2.ships.l0.ay = 3.0;
TraceAndLog("** Fixed Havana");
}
if ( Islands[i].id == "SaintMartin" )
{
Islands[i].reload.l1.ships.l0.ay = 2.0;
Islands[i].reload.l3.ships.l0.ay = -1.3;
TraceAndLog("** Fixed Saint Martin");
}
if ( Islands[i].id == "Oxbay" )
{
Islands[i].reload.l2.ships.l0.ay = 3.4;
TraceAndLog("** Fixed Barbados");
}
if ( Islands[i].id == "Douwesen" )
{
Islands[i].reload.l1.ships.l0.ay = 2.7;
TraceAndLog("** Fixed Bonaire");
}
if ( Islands[i].id == "Colombia" )
{
Islands[i].reload.l1.ships.l0.ay = 3.0;
TraceAndLog("** Fixed Colombia");
}
if ( Islands[i].id == "Hispaniola" )
{
Islands[i].reload.l1.ships.l0.ay = 1.7;
Islands[i].reload.l2.ships.l0.ay = 0.7;
Islands[i].reload.l3.ships.l0.ay = -0.8;
TraceAndLog("** Fixed Hispaniola");
}
}