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

This commit is contained in:
tron
2006-11-05 08:24:52 +00:00
parent d008c45b4b
commit 88b78bb5e8
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;
}