mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
Fix Coverity 1093493: Missing break in switch statement. No logical reason why LE_ORDER_EVADE should fall through to LE_ORDER_STAY_NEAR. Only switch statement in block without a break statement further indicates an oversight.
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@10577 387891d4-d844-0410-90c0-e4c51a9137d3
This commit is contained in:
1 parent
389f4b3dfb
commit
26ee96a012
1 file changed
+1
@@ -9293,6 +9293,7 @@ ADE_FUNC(giveOrder, l_Ship, "enumeration Order, [object Target=nil, subsystem Ta
|
||||
ai_mode = AI_GOAL_EVADE_SHIP;
|
||||
ai_shipname = Ships[tgh->objp->instance].ship_name;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LE_ORDER_STAY_NEAR:
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user