summaryrefslogtreecommitdiff
path: root/scene/3d/room_instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/room_instance.cpp')
-rw-r--r--scene/3d/room_instance.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/3d/room_instance.cpp b/scene/3d/room_instance.cpp
index ea3200622e..1423f56786 100644
--- a/scene/3d/room_instance.cpp
+++ b/scene/3d/room_instance.cpp
@@ -194,13 +194,13 @@ RID Room::get_sound_room() const {
void Room::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("set_room","room:Room"),&Room::set_room );
- ObjectTypeDB::bind_method(_MD("get_room:Room"),&Room::get_room );
+ ClassDB::bind_method(_MD("set_room","room:Room"),&Room::set_room );
+ ClassDB::bind_method(_MD("get_room:Room"),&Room::get_room );
- ObjectTypeDB::bind_method(_MD("set_simulate_acoustics","enable"),&Room::set_simulate_acoustics );
- ObjectTypeDB::bind_method(_MD("is_simulating_acoustics"),&Room::is_simulating_acoustics );
+ ClassDB::bind_method(_MD("set_simulate_acoustics","enable"),&Room::set_simulate_acoustics );
+ ClassDB::bind_method(_MD("is_simulating_acoustics"),&Room::is_simulating_acoustics );