summaryrefslogtreecommitdiffstats
path: root/scene/3d/spatial_player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spatial_player.cpp')
-rw-r--r--scene/3d/spatial_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/spatial_player.cpp b/scene/3d/spatial_player.cpp
index 017f17226f..4648730586 100644
--- a/scene/3d/spatial_player.cpp
+++ b/scene/3d/spatial_player.cpp
@@ -91,8 +91,8 @@ bool SpatialPlayer::_can_gizmo_scale() const {
void SpatialPlayer::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("set_param","param","value"),&SpatialPlayer::set_param);
- ObjectTypeDB::bind_method(_MD("get_param","param"),&SpatialPlayer::get_param);
+ ClassDB::bind_method(_MD("set_param","param","value"),&SpatialPlayer::set_param);
+ ClassDB::bind_method(_MD("get_param","param"),&SpatialPlayer::get_param);
BIND_CONSTANT( PARAM_VOLUME_DB );
BIND_CONSTANT( PARAM_PITCH_SCALE );