From 76fcf4f025801a426246d515efe65953158e01f1 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 21 Sep 2016 07:57:44 +0200 Subject: DM: Fix GCC warnings reported by eriktorbjorn --- engines/dm/group.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') diff --git a/engines/dm/group.cpp b/engines/dm/group.cpp index 7fd5065dda..5eb00208c7 100644 --- a/engines/dm/group.cpp +++ b/engines/dm/group.cpp @@ -710,6 +710,8 @@ T0209005_AddEventAndReturn: approachAfterReaction = (AL0447_i_Behavior == kDMBehaviorAttack); /* If the creature behavior is 'Attack' and it has to move to avoid danger then it will change its behavior to 'Approach' after the movement */ newGroupDirectionFound = false; goto T0209058_MoveInRandomDirection; + default: + break; } } if (eventType < kDMEventTypeUpdateBehaviourGroup) { /* Process Update Aspect events 32 to 36 */ -- cgit v1.2.3