diff options
author | AndreaCatania <info@andreacatania.com> | 2017-11-21 22:56:40 +0100 |
---|---|---|
committer | AndreaCatania <info@andreacatania.com> | 2017-11-21 22:56:40 +0100 |
commit | d6e413bb9cb91255014cddacdba1591e14df56dd (patch) | |
tree | 39977ef56522b32e12c62aaa6eeb6117bdc5f692 /scene/3d/audio_stream_player_3d.cpp | |
parent | 20b07a1fb55c31d326c3f9c36d1276eb1bcf15e6 (diff) | |
download | redot-engine-d6e413bb9cb91255014cddacdba1591e14df56dd.tar.gz |
Removed type_mask and fixed some variable name
Diffstat (limited to 'scene/3d/audio_stream_player_3d.cpp')
-rw-r--r-- | scene/3d/audio_stream_player_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/audio_stream_player_3d.cpp b/scene/3d/audio_stream_player_3d.cpp index ad1a15f363..30b7f36352 100644 --- a/scene/3d/audio_stream_player_3d.cpp +++ b/scene/3d/audio_stream_player_3d.cpp @@ -242,7 +242,7 @@ void AudioStreamPlayer3D::_notification(int p_what) { PhysicsDirectSpaceState::ShapeResult sr[MAX_INTERSECT_AREAS]; - int areas = space_state->intersect_point(global_pos, sr, MAX_INTERSECT_AREAS, Set<RID>(), area_mask, PhysicsDirectSpaceState::TYPE_MASK_AREA); + int areas = space_state->intersect_point(global_pos, sr, MAX_INTERSECT_AREAS, Set<RID>(), area_mask); Area *area = NULL; for (int i = 0; i < areas; i++) { |