summaryrefslogtreecommitdiff
path: root/npc/sample
diff options
context:
space:
mode:
Diffstat (limited to 'npc/sample')
-rw-r--r--npc/sample/monster_controller.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/sample/monster_controller.cpp b/npc/sample/monster_controller.cpp
index 76ba7ade3..fa75175e0 100644
--- a/npc/sample/monster_controller.cpp
+++ b/npc/sample/monster_controller.cpp
@@ -136,11 +136,13 @@ L_MainMenu:
mes "[Monster Info]";
display_info .@tmp;
next;
- goto L_MainMenu;
+ goto L_MainMenu;
break;
case 4: // Actions
goto L_AttackMenu;
break;
+ default:
+ end;
}
L_AttackMenu:
@@ -193,6 +195,8 @@ L_AttackMenu:
case 9:
next;
goto L_MainMenu;
+ default:
+ end;
}
goto L_AttackMenu;
} \ No newline at end of file