mirror of
https://github.com/Relintai/world_generator.git
synced 2024-11-12 10:15:07 +01:00
Forgot to change the type of a few things.
This commit is contained in:
parent
8c9a36fe28
commit
46b4ddd1f7
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user