mirror of
https://github.com/zeldaret/mm.git
synced 2026-09-09 19:51:14 -04:00
FALLTHROUGH Attribute, switch cleanup (#1719)
* add fallthrough * attributes * fix warning
This commit is contained in:
+3
-2
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "fault.h"
|
||||
#include "attributes.h"
|
||||
#include "sys_cfb.h"
|
||||
#include "loadfragment.h"
|
||||
|
||||
@@ -4532,12 +4533,12 @@ void Npc_TrackPoint(Actor* actor, NpcInteractInfo* interactInfo, s16 presetIndex
|
||||
rotLimits.maxHeadYaw = 0;
|
||||
rotLimits.maxHeadPitch = 0;
|
||||
rotLimits.minHeadPitch = 0;
|
||||
// fallthrough
|
||||
FALLTHROUGH;
|
||||
case NPC_TRACKING_HEAD:
|
||||
rotLimits.maxTorsoYaw = 0;
|
||||
rotLimits.maxTorsoPitch = 0;
|
||||
rotLimits.minTorsoPitch = 0;
|
||||
// fallthrough
|
||||
FALLTHROUGH;
|
||||
case NPC_TRACKING_HEAD_AND_TORSO:
|
||||
rotLimits.rotateYaw = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user