From 7ba17e0574652a3759e3c2fbe1430a880db33b48 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 4 Apr 2006 21:18:15 +0000 Subject: Paranoia change: catch invalid 'method' value in generateDetectName svn-id: r21602 --- engines/scumm/plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/scumm') diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index d799dc2650..1382ca5a79 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -1273,6 +1273,8 @@ static bool generateDetectName(const ScummGameSettings *g, int method, char *det return false; strcpy(detectName, "00.MAN"); break; + default: + return false; } return true; -- cgit v1.2.3