mirror of
https://github.com/glest/glest-source.git
synced 2025-08-20 23:21:19 +02:00
attempt for big cleanup of out of synch issues, please test!
This commit is contained in:
@@ -1450,7 +1450,7 @@ void MainWindow::loadProjectileParticle(string path) {
|
||||
for(std::vector<ParticleSystemTypeProjectile *>::const_iterator it= projectileParticleSystemTypes.begin();
|
||||
it != projectileParticleSystemTypes.end(); ++it) {
|
||||
|
||||
ProjectileParticleSystem *ps = (*it)->create();
|
||||
ProjectileParticleSystem *ps = (*it)->create(NULL);
|
||||
|
||||
if(size > 0) {
|
||||
Vec3f vec = Vec3f(0.f, height / 2.f, 0.f);
|
||||
@@ -1559,7 +1559,7 @@ void MainWindow::loadSplashParticle(string path) { // uses ParticleSystemTypeSp
|
||||
//ParticleSystemTypeSplash
|
||||
for(std::vector<ParticleSystemTypeSplash *>::const_iterator it= splashParticleSystemTypes.begin(); it != splashParticleSystemTypes.end(); ++it) {
|
||||
|
||||
SplashParticleSystem *ps = (*it)->create();
|
||||
SplashParticleSystem *ps = (*it)->create(NULL);
|
||||
|
||||
if(size > 0) {
|
||||
Vec3f vec = Vec3f(0.f, height / 2.f, 0.f);
|
||||
|
Reference in New Issue
Block a user