Index: trunk/src/lib/particles/particle_engine.cc
===================================================================
--- trunk/src/lib/particles/particle_engine.cc	(revision 5110)
+++ trunk/src/lib/particles/particle_engine.cc	(revision 5111)
@@ -53,5 +53,5 @@
   // delete all remaining systems
   tIterator<ParticleSystem>* sysIt = this->systemList->getIterator();
-  ParticleSystem* tmpSys = sysIt->firstElement();
+  ParticleSystem* tmpSys = sysIt->nextElement();
   while(tmpSys)
     {
@@ -64,5 +64,5 @@
   // delete all remaining emitters
   tIterator<ParticleEmitter>* emitIt = this->emitterList->getIterator();
-  ParticleEmitter* tmpEmit = emitIt->firstElement();
+  ParticleEmitter* tmpEmit = emitIt->nextElement();
   while(tmpEmit)
     {
@@ -147,5 +147,5 @@
   // look, if we have already added this connection
   tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator();
-  ParticleConnection* tmpConnection = tmpConIt->firstElement();
+  ParticleConnection* tmpConnection = tmpConIt->nextElement();
   while(tmpConnection)
     {
@@ -178,5 +178,5 @@
   // remove any connections, that have this system within
   tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator();
-  ParticleConnection* tmpConnection = tmpConIt->firstElement();
+  ParticleConnection* tmpConnection = tmpConIt->nextElement();
   while(tmpConnection)
     {
@@ -199,5 +199,5 @@
   // remove any connections, that have this emitter within
   tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator();
-  ParticleConnection* tmpConnection = tmpConIt->firstElement();
+  ParticleConnection* tmpConnection = tmpConIt->nextElement();
   while(tmpConnection)
     {
@@ -224,5 +224,5 @@
   // look, if we have already added this connection
   tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator();
-  ParticleConnection* tmpConnection = tmpConIt->firstElement();
+  ParticleConnection* tmpConnection = tmpConIt->nextElement();
   while(tmpConnection)
     {
@@ -260,5 +260,5 @@
   // ticks all the ParticleSystems
   tIterator<ParticleSystem>* tmpIt = systemList->getIterator();
-  ParticleSystem* tmpSys = tmpIt->firstElement();
+  ParticleSystem* tmpSys = tmpIt->nextElement();
   while(tmpSys)
     {
@@ -270,5 +270,5 @@
   // add new Particles to each System connected to an Emitter.
   tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator();
-  ParticleConnection* tmpConnection = tmpConIt->firstElement();
+  ParticleConnection* tmpConnection = tmpConIt->nextElement();
   while(tmpConnection)
     {
@@ -285,5 +285,5 @@
 {
   tIterator<ParticleSystem>* tmpIt = systemList->getIterator();
-  ParticleSystem* tmpSys = tmpIt->firstElement();
+  ParticleSystem* tmpSys = tmpIt->nextElement();
   while(tmpSys)
     {
@@ -302,5 +302,5 @@
 {
   tIterator<ParticleSystem>* tmpIt = systemList->getIterator();
-  ParticleSystem* tmpSys = tmpIt->firstElement();
+  ParticleSystem* tmpSys = tmpIt->nextElement();
   while(tmpSys)
     {
@@ -324,5 +324,5 @@
   int count = 0;
   tIterator<ParticleSystem>* tmpIt = systemList->getIterator();
-  ParticleSystem* tmpSys = tmpIt->firstElement();
+  ParticleSystem* tmpSys = tmpIt->nextElement();
   while(tmpSys)
     {
@@ -346,5 +346,5 @@
 {
   tIterator<ParticleEmitter>* tmpIt = emitterList->getIterator();
-  ParticleEmitter* tmpEmit = tmpIt->firstElement();
+  ParticleEmitter* tmpEmit = tmpIt->nextElement();
   while(tmpEmit)
     {
@@ -369,5 +369,5 @@
   int count = 0;
   tIterator<ParticleEmitter>* tmpIt = emitterList->getIterator();
-  ParticleEmitter* tmpEmit = tmpIt->firstElement();
+  ParticleEmitter* tmpEmit = tmpIt->nextElement();
   while(tmpEmit)
     {
@@ -402,5 +402,5 @@
 
     tIterator<ParticleConnection>* tmpConIt = connectionList->getIterator();
-    ParticleConnection* tmpConnection = tmpConIt->firstElement();
+    ParticleConnection* tmpConnection = tmpConIt->nextElement();
     while(tmpConnection)
     {
@@ -414,5 +414,5 @@
   {
     tIterator<ParticleSystem>* tmpIt = systemList->getIterator();
-    ParticleSystem* tmpSys = tmpIt->firstElement();
+    ParticleSystem* tmpSys = tmpIt->nextElement();
     while(tmpSys)
     {
@@ -429,5 +429,5 @@
   {
     tIterator<ParticleEmitter>* tmpIt = emitterList->getIterator();
-    ParticleEmitter* tmpEmit = tmpIt->firstElement();
+    ParticleEmitter* tmpEmit = tmpIt->nextElement();
     while(tmpEmit)
     {
