You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Change AudioStreamPlayer autoplay and GLTFBufferView getters to be const
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
/**************************************************************************/
|
||||
|
||||
#include "audio_stream_player.h"
|
||||
#include "audio_stream_player.compat.inc"
|
||||
|
||||
#include "scene/audio/audio_stream_player_internal.h"
|
||||
#include "servers/audio/audio_stream.h"
|
||||
@@ -126,7 +127,7 @@ void AudioStreamPlayer::set_autoplay(bool p_enable) {
|
||||
internal->autoplay = p_enable;
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer::is_autoplay_enabled() {
|
||||
bool AudioStreamPlayer::is_autoplay_enabled() const {
|
||||
return internal->autoplay;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user