mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
Minor changes in file type handling
This commit is contained in:
@@ -38,7 +38,7 @@ void Mouse::terminate()
|
||||
|
||||
void Mouse::loadCursors(std::string filename)
|
||||
{
|
||||
filename = g_resources.guessFileType(filename, "otml");
|
||||
filename = g_resources.guessFilePath(filename, "otml");
|
||||
try {
|
||||
OTMLDocumentPtr doc = OTMLDocument::parse(filename);
|
||||
OTMLNodePtr cursorsNode = doc->at("Cursors");
|
||||
|
Reference in New Issue
Block a user