mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +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");
|
XmlNode *particleSystemNode = rootNode->addChild("ParticleSystem");
|
||||||
|
|
||||||
// std::vector<Particle> particles;
|
// std::vector<Particle> particles;
|
||||||
for(unsigned int i = 0; i < particles.size(); ++i) {
|
// for(unsigned int i = 0; i < particles.size(); ++i) {
|
||||||
Particle &particle = particles[i];
|
// Particle &particle = particles[i];
|
||||||
particle.saveGame(particleSystemNode);
|
// particle.saveGame(particleSystemNode);
|
||||||
}
|
// }
|
||||||
// RandomGen random;
|
// RandomGen random;
|
||||||
particleSystemNode->addAttribute("random",intToStr(random.getLastNumber()), mapTagReplacements);
|
particleSystemNode->addAttribute("random",intToStr(random.getLastNumber()), mapTagReplacements);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user