mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
broken switches
This commit is contained in:
@@ -574,6 +574,7 @@ Vector getAvailableCloningFacilities(obj_id player)
|
||||
factionFacilityDist = dist;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case CLONE_TYPE_PVP_REGION_ADVANCED_IMPERIAL:
|
||||
if(!factions.isImperial(player))
|
||||
break;
|
||||
|
||||
@@ -812,7 +812,7 @@ void defaultFishingUpdate(obj_id target, int action)
|
||||
if ( checkForCatch(target, -0.25f) )
|
||||
setWait = false;
|
||||
}
|
||||
|
||||
break;
|
||||
case FA_SMALL_REEL:
|
||||
updateFishingLocation(target, action);
|
||||
break;
|
||||
|
||||
@@ -158,16 +158,22 @@ messageHandler pathToNextPoint()
|
||||
{
|
||||
case restuss_event.PATROL:
|
||||
ai_lib.setPatrolPath(self, patrolPoints);
|
||||
break;
|
||||
case restuss_event.PATROL_ONCE:
|
||||
ai_lib.setPatrolOncePath(self, patrolPoints);
|
||||
break;
|
||||
case restuss_event.PATROL_FLIP:
|
||||
ai_lib.setPatrolFlipPath(self, patrolPoints);
|
||||
break;
|
||||
case restuss_event.PATROL_FLIP_ONCE:
|
||||
ai_lib.setPatrolFlipOncePath(self, patrolPoints);
|
||||
break;
|
||||
case restuss_event.PATROL_RANDOM:
|
||||
ai_lib.setPatrolRandomPath(self, patrolPoints);
|
||||
break;
|
||||
case restuss_event.PATROL_RANDOM_ONCE:
|
||||
ai_lib.setPatrolRandomOncePath(self, patrolPoints);
|
||||
break;
|
||||
}
|
||||
|
||||
return SCRIPT_CONTINUE;
|
||||
@@ -177,4 +183,4 @@ void doLogging(string section, string message)
|
||||
{
|
||||
if (LOGGING)
|
||||
LOG("doLogging/event_squad_leader/"+section, message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user