diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-01 14:32:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 14:32:04 +0200 |
commit | b0ce9401ffa731cc346ab6762fd0794709634428 (patch) | |
tree | c2e6de01b9efec28c959dbfd5cd59a0973d432e7 /scene/3d | |
parent | 531c92a53e5e7b9a1cb55249ef6086e874239872 (diff) | |
parent | 3c154eb93b3a098354bf6d18a9428826ec193f90 (diff) |
Merge pull request #30126 from qarmin/remove_unnecessary_code
Remove unnecessary code and add some error explanations
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/audio_stream_player_3d.h | 2 | ||||
-rw-r--r-- | scene/3d/navigation.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/scene/3d/audio_stream_player_3d.h b/scene/3d/audio_stream_player_3d.h index 7a652ed65f..93954e758a 100644 --- a/scene/3d/audio_stream_player_3d.h +++ b/scene/3d/audio_stream_player_3d.h @@ -71,7 +71,7 @@ private: struct Output { AudioFilterSW filter; - AudioFilterSW::Processor filter_process[6]; + AudioFilterSW::Processor filter_process[8]; AudioFrame vol[4]; float filter_gain; float pitch_scale; diff --git a/scene/3d/navigation.cpp b/scene/3d/navigation.cpp index 612d91c6e1..12d562c0c6 100644 --- a/scene/3d/navigation.cpp +++ b/scene/3d/navigation.cpp @@ -90,7 +90,6 @@ void Navigation::_navmesh_link(int p_id) { if (!valid) { nm.polygons.pop_back(); ERR_CONTINUE(!valid); - continue; } p.center = center; |