particles are no longer saved ( just particle systems ) because they made the savegame huge.

This commit is contained in:
Titus Tscharntke 2012-03-17 22:26:50 +00:00
parent 6571281a48
commit d738dddab6
1 changed files with 4 additions and 4 deletions

View File

@ -261,10 +261,10 @@ void ParticleSystem::saveGame(XmlNode *rootNode) {
XmlNode *particleSystemNode = rootNode->addChild("ParticleSystem");
// std::vector<Particle> 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);