Paranoia change: catch invalid 'method' value in generateDetectName

svn-id: r21602
This commit is contained in:
Max Horn 2006-04-04 21:18:15 +00:00
parent 77555809b6
commit 7ba17e0574

View File

@ -1273,6 +1273,8 @@ static bool generateDetectName(const ScummGameSettings *g, int method, char *det
return false; return false;
strcpy(detectName, "00.MAN"); strcpy(detectName, "00.MAN");
break; break;
default:
return false;
} }
return true; return true;