Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5308 in orxonox.OLD for trunk/src/world_entities/skybox.cc


Ignore:
Timestamp:
Oct 8, 2005, 12:32:52 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Fixed a reversive BUG in the ResourceManager:
Since resources, that depend on each other are loaded left tgo right they must be unlinked right to left… this cost me 3 hours.
What a luck i found this :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/skybox.cc

    r5302 r5308  
    101101  for (int i = 0; i < 6; i++)
    102102    delete this->material[i];
    103   delete []this->material;
     103  delete[] this->material;
    104104  delete this->model;
    105105  this->model = NULL; //< so that WorldEntity does not try to delete it again.
Note: See TracChangeset for help on using the changeset viewer.