Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doppler effect sound effects cause buffer overread
Sounds that use dopplerScale (e.g., rocket launcher) exhibited a buffer over-read. S_PaintChannelFrom16's ofst reads past end of sfx->pSoundData buffer. To resolve this, take dopplerScale increments of ofst into consideration when calculating count, which controls the loop for ofst. Resolves: #1038 See also: 69800e8
- Loading branch information