From d738dddab6b93a2037c59eaf82f61dfc69484b21 Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Sat, 17 Mar 2012 22:26:50 +0000 Subject: [PATCH] particles are no longer saved ( just particle systems ) because they made the savegame huge. --- source/shared_lib/sources/graphics/particle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/shared_lib/sources/graphics/particle.cpp b/source/shared_lib/sources/graphics/particle.cpp index 3126c8221..e21003fca 100644 --- a/source/shared_lib/sources/graphics/particle.cpp +++ b/source/shared_lib/sources/graphics/particle.cpp @@ -261,10 +261,10 @@ void ParticleSystem::saveGame(XmlNode *rootNode) { XmlNode *particleSystemNode = rootNode->addChild("ParticleSystem"); // std::vector particles; - for(unsigned int i = 0; i < particles.size(); ++i) { - Particle &particle = particles[i]; - particle.saveGame(particleSystemNode); - } +// for(unsigned int i = 0; i < particles.size(); ++i) { +// Particle &particle = particles[i]; +// particle.saveGame(particleSystemNode); +// } // RandomGen random; particleSystemNode->addAttribute("random",intToStr(random.getLastNumber()), mapTagReplacements);