From feeaa2c35ed9b85355cee5be665e566832293014 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Mar 2006 12:34:14 +0000 Subject: Removed unnecessary strcpy calls svn-id: r21071 --- engines/scumm/sound.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp index 9bf8fefcd8..823156c32a 100644 --- a/engines/scumm/sound.cpp +++ b/engines/scumm/sound.cpp @@ -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; } -- cgit v1.2.3