summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-09-13 17:42:31 +0200
committerGitHub <noreply@github.com>2017-09-13 17:42:31 +0200
commit933ca6bb8a9fbdb82714ce5d3f5a3f43ccf2af4e (patch)
treec9dc0660bca1e33c827644fa8a9ce269f1579a44 /scene
parent4140e5261c4dd208cc452df8ef416f032543ee91 (diff)
parenta3f9fe52ec3c3879b1dda581a8e2122c1df8c6ef (diff)
Merge pull request #11239 from hpvb/fix-array-oob
Fix out of bound array indexing
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/audio_stream_player_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/audio_stream_player_3d.h b/scene/3d/audio_stream_player_3d.h
index 8603cab5a4..6f32aa46a6 100644
--- a/scene/3d/audio_stream_player_3d.h
+++ b/scene/3d/audio_stream_player_3d.h
@@ -40,7 +40,7 @@ private:
AudioFilterSW filter;
AudioFilterSW::Processor filter_process[6];
- AudioFrame vol[3];
+ AudioFrame vol[4];
float filter_gain;
float pitch_scale;
int bus_index;