mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 07:31:21 +02:00
particles are no longer saved ( just particle systems ) because they made the savegame huge.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user