diff --git a/src/kits/game/GameSoundBuffer.cpp b/src/kits/game/GameSoundBuffer.cpp index 21fd10c63e..6619309c07 100644 --- a/src/kits/game/GameSoundBuffer.cpp +++ b/src/kits/game/GameSoundBuffer.cpp @@ -250,7 +250,7 @@ GameSoundBuffer::SetAttributes(gs_attribute * attributes, void GameSoundBuffer::Play(void * data, int64 frames) { - float * pan = new float[1]; + float *pan = new float[2]; pan[0] = fPanRight; pan[1] = fPanLeft;