mirror of
https://github.com/godotengine/godot.git
synced 2025-03-13 23:41:08 +08:00
Fix out of bound array indexing (reverb_vol)
Same issue as in a3f9fe52. AudioFrame[3] being indexed at [3]
This commit is contained in:
parent
a3f9fe52ec
commit
89c50f73c7
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user