From 805928da1872cf803a14c34c95fc5de9b0996ee6 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 27 Oct 2020 23:24:45 +0100 Subject: [PATCH] Update for the newest voxelman. --- main/biome.cpp | 4 ++-- main/dungeon.cpp | 2 +- main/dungeon_room.cpp | 4 ++-- main/planet.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main/biome.cpp b/main/biome.cpp index 5b044c1..b99baa9 100644 --- a/main/biome.cpp +++ b/main/biome.cpp @@ -384,7 +384,7 @@ void Biome::_setup_library(Ref library) { Ref s = get_voxel_surface(i); if (s.is_valid()) { - library->add_voxel_surface(s); + library->voxel_surface_add(s); } } @@ -404,7 +404,7 @@ void Biome::_setup_library(Ref library) { Ref pd = s->get_prop(); if (pd.is_valid()) - library->add_prop(s->get_prop()); + library->prop_add(s->get_prop()); } } #endif diff --git a/main/dungeon.cpp b/main/dungeon.cpp index 8f13873..ae78113 100644 --- a/main/dungeon.cpp +++ b/main/dungeon.cpp @@ -799,7 +799,7 @@ void Dungeon::_setup_library(Ref library) { Ref s = get_voxel_surface(i); if (s.is_valid()) { - library->add_voxel_surface(s); + library->voxel_surface_add(s); } } diff --git a/main/dungeon_room.cpp b/main/dungeon_room.cpp index 6656767..1029f3a 100644 --- a/main/dungeon_room.cpp +++ b/main/dungeon_room.cpp @@ -413,7 +413,7 @@ void DungeonRoom::_setup_library(Ref library) { Ref s = get_voxel_surface(i); if (s.is_valid()) { - library->add_voxel_surface(s); + library->voxel_surface_add(s); } } @@ -425,7 +425,7 @@ void DungeonRoom::_setup_library(Ref library) { Ref pd = s->get_prop(); if (pd.is_valid()) - library->add_prop(pd); + library->prop_add(pd); } } #endif diff --git a/main/planet.cpp b/main/planet.cpp index 04c7003..b91d5fe 100644 --- a/main/planet.cpp +++ b/main/planet.cpp @@ -315,7 +315,7 @@ void Planet::_setup_library(Ref library) { Ref s = get_voxel_surface(i); if (s.is_valid()) { - library->add_voxel_surface(s); + library->voxel_surface_add(s); } }