mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-27 08:34:02 +00:00
fix wrong(?) assert that may break stuff on macos.
Time to rip out this old lib. soon, hopefully
This commit is contained in:
parent
9251278e46
commit
47aa41de19
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ Dir *DiskLoader::LoadDir(const char *fn, const char * /*ignored*/)
|
||||||
fn = &t[0];
|
fn = &t[0];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
assert(getRoot()->_getDirEx(fn, fn, false, false, false).first == NULL); // makes no sense to fire up the loader if it's already in the tree
|
// assert(getRoot()->_getDirEx(fn, fn, false, false, false).first == NULL); // makes no sense to fire up the loader if it's already in the tree
|
||||||
|
|
||||||
ret = safecastNonNull<DiskDir*>(getRoot()->_createAndInsertSubtree(fn));
|
ret = safecastNonNull<DiskDir*>(getRoot()->_createAndInsertSubtree(fn));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue