Re #631 Reverted r4547 (Load skid sound only once) because produces weird skid sound under some configurations / circumstances
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4549 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: bc69f4fb09c3ef2c50d419e8e342fa17fcd28dd3 Former-commit-id: ac08a6181351c25fb3078a23706f4c32ca100d2d
This commit is contained in:
parent
48adf6922a
commit
ec59bdc105
1 changed files with 1 additions and 1 deletions
|
@ -106,8 +106,8 @@ void SoundInterface::initSharedSourcePool()
|
|||
|
||||
void SoundInterface::setSkidSound (const char* sound_name)
|
||||
{
|
||||
Sound* sound = addSample (sound_name, ACTIVE_VOLUME|ACTIVE_PITCH, true);
|
||||
for (int i=0; i<4; i++) {
|
||||
Sound* sound = addSample (sound_name, ACTIVE_VOLUME|ACTIVE_PITCH, true);
|
||||
skid_sound[i] = sound;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue