mirror of
https://github.com/edubart/otclient.git
synced 2025-11-04 20:46:24 +01:00
Minor changes in file type handling
This commit is contained in:
@@ -29,7 +29,7 @@ ParticleManager g_particles;
|
||||
bool ParticleManager::importParticle(std::string file)
|
||||
{
|
||||
try {
|
||||
file = g_resources.guessFileType(file, "otps");
|
||||
file = g_resources.guessFilePath(file, "otps");
|
||||
|
||||
OTMLDocumentPtr doc = OTMLDocument::parse(file);
|
||||
for(const OTMLNodePtr& node : doc->children()) {
|
||||
|
||||
Reference in New Issue
Block a user