mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
bug fix
This commit is contained in:
parent
2105d56b3b
commit
aeb5312ed2
4 changed files with 25 additions and 21 deletions
|
|
@ -278,7 +278,7 @@ void ALSpeaker::play() {
|
|||
AL_CHECK(alSourcef(
|
||||
source,
|
||||
AL_GAIN,
|
||||
volume * p_channel->getVolume() * get_channel(0)->getVolume()
|
||||
volume * p_channel->getVolume()
|
||||
));
|
||||
AL_CHECK(alSourcePlay(source));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue