From aed336bde4e73c8a2b14aec0895e5c2d55ddbfe2 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Fri, 30 Oct 2015 13:46:12 -0500 Subject: [PATCH] broken switches --- .../compiled/game/script/library/cloninglib.scriptlib | 1 + .../compiled/game/script/library/minigame.scriptlib | 2 +- .../script/theme_park/restuss_event/squad_leader.script | 8 +++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sku.0/sys.server/compiled/game/script/library/cloninglib.scriptlib b/sku.0/sys.server/compiled/game/script/library/cloninglib.scriptlib index c60c7145a..06d3acf28 100644 --- a/sku.0/sys.server/compiled/game/script/library/cloninglib.scriptlib +++ b/sku.0/sys.server/compiled/game/script/library/cloninglib.scriptlib @@ -574,6 +574,7 @@ Vector getAvailableCloningFacilities(obj_id player) factionFacilityDist = dist; } } + break; case CLONE_TYPE_PVP_REGION_ADVANCED_IMPERIAL: if(!factions.isImperial(player)) break; diff --git a/sku.0/sys.server/compiled/game/script/library/minigame.scriptlib b/sku.0/sys.server/compiled/game/script/library/minigame.scriptlib index 19d69fe19..1d33fa782 100644 --- a/sku.0/sys.server/compiled/game/script/library/minigame.scriptlib +++ b/sku.0/sys.server/compiled/game/script/library/minigame.scriptlib @@ -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; diff --git a/sku.0/sys.server/compiled/game/script/theme_park/restuss_event/squad_leader.script b/sku.0/sys.server/compiled/game/script/theme_park/restuss_event/squad_leader.script index d0ddb6806..5488b8251 100644 --- a/sku.0/sys.server/compiled/game/script/theme_park/restuss_event/squad_leader.script +++ b/sku.0/sys.server/compiled/game/script/theme_park/restuss_event/squad_leader.script @@ -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); -} \ No newline at end of file +}