mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
Removed unnecessary strcpy calls
svn-id: r21071
This commit is contained in:
parent
bc735c4595
commit
feeaa2c35e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user