(svn r7065) Use simple assignment instead of memcpy()

This commit is contained in:
tron
2006-11-05 08:24:52 +00:00
parent 60ea083b28
commit 2a53bcf2b0
5 changed files with 7 additions and 7 deletions

View File

@@ -186,7 +186,7 @@ void SndCopyToPool(void)
FileEntry *orig = &_files[_sound_idx[i]];
FileEntry *fe = AllocateFileEntry();
memcpy(fe, orig, sizeof(*orig));
*fe = *orig;
fe->volume = _sound_base_vol[i];
fe->priority = 0;
}