summaryrefslogtreecommitdiff
path: root/npc/sample/monster_controller.cpp
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 05:12:30 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-19 05:12:30 +0000
commit6de5cb578078dfafbf1da489712304f43144bd7d (patch)
tree0b311cd7242f2317fd771de21a52e066c449fc8c /npc/sample/monster_controller.cpp
parentc116ea51790a6d42280cf599192614dc373cf91d (diff)
downloadhercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.gz
hercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.bz2
hercules-6de5cb578078dfafbf1da489712304f43144bd7d.tar.xz
hercules-6de5cb578078dfafbf1da489712304f43144bd7d.zip
Applied security patches. PLEASE CHECK THEM ALL.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9260 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/sample/monster_controller.cpp')
-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