mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
fix repeated texture allocation bug
This commit is contained in:
@@ -36,7 +36,7 @@ OTMLDocumentPtr OTMLDocument::create()
|
||||
OTMLDocumentPtr OTMLDocument::parse(const std::string& fileName)
|
||||
{
|
||||
std::stringstream fin;
|
||||
std::string source = g_resources.checkPath(fileName);
|
||||
std::string source = g_resources.resolvePath(fileName);
|
||||
g_resources.loadFile(source, fin);
|
||||
return parse(fin, source);
|
||||
}
|
||||
|
Reference in New Issue
Block a user