recursive lock

This commit is contained in:
David Rose 2008-09-16 01:50:49 +00:00
parent 6895e25221
commit 25af05eef3

View File

@ -724,7 +724,7 @@ load_related(const InternalName *suffix) const {
if (ti != _related_textures.end()) { if (ti != _related_textures.end()) {
return (*ti).second; return (*ti).second;
} }
if (!has_fullpath()) { if (_fullpath.empty()) {
return (Texture*)NULL; return (Texture*)NULL;
} }
Filename main = _fullpath; Filename main = _fullpath;