Forgot to change the type of a few things.

This commit is contained in:
Relintai 2021-04-19 10:08:31 +02:00
parent 8c9a36fe28
commit 46b4ddd1f7
3 changed files with 6 additions and 6 deletions

View File

@ -683,7 +683,7 @@ Ref<Dungeon> Dungeon::_instance(const int seed, Ref<Dungeon> inst) {
inst->set_terra_environment(_terra_environment);
for (int i = 0; i < _terra_environment_datas.size(); ++i) {
Ref<EnvironmentData> d = _terra_environment_datas[i];
Ref<TerraEnvironmentData> d = _terra_environment_datas[i];
if (!d.is_valid())
continue;
@ -692,7 +692,7 @@ Ref<Dungeon> Dungeon::_instance(const int seed, Ref<Dungeon> inst) {
}
for (int i = 0; i < _terra_surfaces.size(); ++i) {
Ref<VoxelSurface> d = _terra_surfaces[i];
Ref<TerraSurface> d = _terra_surfaces[i];
if (!d.is_valid())
continue;

View File

@ -290,7 +290,7 @@ Ref<DungeonRoom> DungeonRoom::_instance(const int seed, Ref<DungeonRoom> inst) {
//inst->set_structure(_structure);
for (int i = 0; i < _terra_environment_datas.size(); ++i) {
Ref<EnvironmentData> d = _terra_environment_datas[i];
Ref<TerraEnvironmentData> d = _terra_environment_datas[i];
if (!d.is_valid())
continue;
@ -299,7 +299,7 @@ Ref<DungeonRoom> DungeonRoom::_instance(const int seed, Ref<DungeonRoom> inst) {
}
for (int i = 0; i < _terra_surfaces.size(); ++i) {
Ref<VoxelSurface> d = _terra_surfaces[i];
Ref<TerraSurface> d = _terra_surfaces[i];
if (!d.is_valid())
continue;

View File

@ -197,7 +197,7 @@ Ref<Planet> Planet::_instance(const int seed, Ref<Planet> inst) {
inst->set_terra_environment(_terra_environment);
for (int i = 0; i < _terra_environment_datas.size(); ++i) {
Ref<EnvironmentData> d = _terra_environment_datas[i];
Ref<TerraEnvironmentData> d = _terra_environment_datas[i];
if (!d.is_valid())
continue;
@ -206,7 +206,7 @@ Ref<Planet> Planet::_instance(const int seed, Ref<Planet> inst) {
}
for (int i = 0; i < _terra_surfaces.size(); ++i) {
Ref<VoxelSurface> d = _terra_surfaces[i];
Ref<TerraSurface> d = _terra_surfaces[i];
if (!d.is_valid())
continue;