1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 14:34:34 +00:00

Fix 2 little bugs

- set default freq/pan for voice playback
- spinycrab script: fix pointer tpe mismatch
This commit is contained in:
fgenesis 2012-01-08 20:22:56 +01:00
parent ef8d13c3e4
commit 39f4f3c856
2 changed files with 5 additions and 2 deletions

View file

@ -1062,6 +1062,9 @@ bool SoundManager::playVoice(const std::string &name, SoundVoiceType svt, float
checkError();
*/
voiceChannel->setPan(0);
voiceChannel->setFrequency(1);
result = voiceChannel->setPaused(false);
checkError();