diff options
Diffstat (limited to 'src/render/renderext.cc')
-rw-r--r-- | src/render/renderext.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/render/renderext.cc b/src/render/renderext.cc index 0f781c5..1dc82f8 100644 --- a/src/render/renderext.cc +++ b/src/render/renderext.cc @@ -95,11 +95,18 @@ RenderExt::RenderExt(core::Entity *entity) : core::Extension(core::Extension::Re } if (!globe->corona_id() && globe->coronaname().size()) { - globe->set_corona_id(Textures::bind("textures/corona/" + globe->coronaname())); + globe->set_corona_id(Textures::load("textures/" + globe->coronaname())); if (!globe->corona_id()) { globe->set_coronaname(""); } } + + if (!globe->rings_id() && globe->ringsname().size()) { + globe->set_rings_id(Textures::load("textures/" + globe->ringsname())); + if (!globe->rings_id()) { + globe->set_ringsname(""); + } + } } } |