broken switches

This commit is contained in:
DarthArgus
2015-10-30 13:46:12 -05:00
parent d4213197e9
commit aed336bde4
3 changed files with 9 additions and 2 deletions
@@ -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);
}
}