mirror of
https://github.com/edubart/otclient.git
synced 2025-11-04 20:46:24 +01:00
...
This commit is contained in:
@@ -33,6 +33,7 @@ bool ParticleManager::load(const std::string& filename)
|
||||
|
||||
try {
|
||||
OTMLDocumentPtr doc = OTMLDocument::parse(filename);
|
||||
const OTMLNodePtr& node = doc->at("ParticleSystem");
|
||||
for(const OTMLNodePtr& node : doc->children()) {
|
||||
if(node->tag() == "ParticleSystem") {
|
||||
ParticleSystemPtr particleSystem = ParticleSystemPtr(new ParticleSystem);
|
||||
|
||||
Reference in New Issue
Block a user