mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
All textures are are now searched first from the directory specified by the texture_path setting.
This commit is contained in:
parent
a8acf3c391
commit
969fbb189d
12 changed files with 108 additions and 190 deletions
|
@ -1766,12 +1766,12 @@ private:
|
|||
core::list<Value> m_list;
|
||||
};
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
template<typename Key, typename Value>
|
||||
class MutexedCache
|
||||
class MutexedMap
|
||||
{
|
||||
public:
|
||||
MutexedCache()
|
||||
MutexedMap()
|
||||
{
|
||||
m_mutex.Init();
|
||||
assert(m_mutex.IsInitialized());
|
||||
|
@ -1793,8 +1793,10 @@ public:
|
|||
|
||||
if(n == NULL)
|
||||
return false;
|
||||
|
||||
*result = n->getValue();
|
||||
|
||||
if(result != NULL)
|
||||
*result = n->getValue();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue