Removed unnecessary strcpy calls

svn-id: r21071
This commit is contained in:
Max Horn 2006-03-04 12:34:14 +00:00
parent bc735c4595
commit feeaa2c35e

View File

@ -1009,10 +1009,7 @@ ScummFile *Sound::openSfxFile() {
basename[1] = "monster";
if (_vm->_substResFileName.almostGameID != 0) {
strcpy(buf, basename[0]);
_vm->generateSubstResFileName(buf, buf1, sizeof(buf1));
strcpy(buf, buf1);
_vm->generateSubstResFileName(basename[0], buf1, sizeof(buf1));
basename[2] = buf1;
}