diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-13 17:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 17:50:10 +0200 |
commit | 322b0bee4967545383fba8a2c9b1253e2a2bbf43 (patch) | |
tree | f67f5d6d63a80504c5ef041439ff5273f6ee6269 /scene | |
parent | 933ca6bb8a9fbdb82714ce5d3f5a3f43ccf2af4e (diff) | |
parent | 89c50f73c735b9bde44a1dd09ec1520c014d67da (diff) |
Merge pull request #11240 from hpvb/fix-array-oob
Fix out of bound array indexing (reverb_vol)
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/audio_stream_player_3d.h | 2 |
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 6f32aa46a6..b729b55f7e 100644 --- a/scene/3d/audio_stream_player_3d.h +++ b/scene/3d/audio_stream_player_3d.h @@ -45,7 +45,7 @@ private: float pitch_scale; int bus_index; int reverb_bus_index; - AudioFrame reverb_vol[3]; + AudioFrame reverb_vol[4]; Viewport *viewport; //pointer only used for reference to previous mix Output() { |