Index: trunk/src/world_entities/weapons/aim.cc
===================================================================
--- trunk/src/world_entities/weapons/aim.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/aim.cc	(revision 6222)
@@ -21,5 +21,4 @@
 #include "graphics_engine.h"
 #include "state.h"
-#include "list.h"
 #include "material.h"
 #include "t_animation.h"
@@ -104,23 +103,20 @@
 void Aim::searchTarget(float range)
 {
-  //FIXME//
-/*  tIterator<WorldEntity>* iterator = State::getWorldEntityList()->getIterator();
-  WorldEntity* entity = iterator->firstElement();
-  while (likely(entity != NULL))
+  std::list<WorldEntity*>::iterator entity;
+
+  for (entity = State::getObjectManager()->getObjectList(OM_GROUP_00).begin();
+       entity != State::getObjectManager()->getObjectList(OM_GROUP_00).end();
+       entity ++)
   {
-    if (entity->isA(CL_NPC) && this->source->getAbsCoor().x < entity->getAbsCoor().x && (this->source->getAbsCoor() - entity->getAbsCoor()).len() < range)
+    if (this->source->getAbsCoor().x < (*entity)->getAbsCoor().x && (this->source->getAbsCoor() - (*entity)->getAbsCoor()).len() < range)
     {
-      if (this->getParent() != entity)
+      if (this->getParent() != (*entity))
       {
         this->anim->replay();
-        this->setParentSoft(entity, 5);
+        this->setParentSoft(*entity, 5);
+        return;
       }
-      delete iterator;
-      return;
     }
-    entity = iterator->nextElement();
   }
-
-  delete iterator;*/
 }
 
Index: trunk/src/world_entities/weapons/bomb.cc
===================================================================
--- trunk/src/world_entities/weapons/bomb.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/bomb.cc	(revision 6222)
@@ -21,5 +21,5 @@
 
 #include "fast_factory.h"
-#include "list.h"
+
 
 #include "object_manager.h"
Index: trunk/src/world_entities/weapons/guided_missile.cc
===================================================================
--- trunk/src/world_entities/weapons/guided_missile.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/guided_missile.cc	(revision 6222)
@@ -20,7 +20,5 @@
 #include "fast_factory.h"
 
-#include "model.h"
 #include "state.h"
-#include "list.h"
 #include "class_list.h"
 
Index: trunk/src/world_entities/weapons/laser.cc
===================================================================
--- trunk/src/world_entities/weapons/laser.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/laser.cc	(revision 6222)
@@ -21,5 +21,4 @@
 
 #include "state.h"
-#include "list.h"
 #include "class_list.h"
 #include "model.h"
Index: trunk/src/world_entities/weapons/rocket.cc
===================================================================
--- trunk/src/world_entities/weapons/rocket.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/rocket.cc	(revision 6222)
@@ -20,7 +20,5 @@
 #include "fast_factory.h"
 
-#include "model.h"
 #include "state.h"
-#include "list.h"
 #include "class_list.h"
 
Index: trunk/src/world_entities/weapons/test_bullet.cc
===================================================================
--- trunk/src/world_entities/weapons/test_bullet.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/test_bullet.cc	(revision 6222)
@@ -20,7 +20,5 @@
 #include "fast_factory.h"
 
-#include "model.h"
 #include "state.h"
-#include "list.h"
 #include "class_list.h"
 
Index: trunk/src/world_entities/weapons/test_gun.cc
===================================================================
--- trunk/src/world_entities/weapons/test_gun.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/test_gun.cc	(revision 6222)
@@ -29,6 +29,4 @@
 #include "factory.h"
 
-#include "vector.h"
-#include "list.h"
 #include "animation3d.h"
 
Index: trunk/src/world_entities/weapons/turret.cc
===================================================================
--- trunk/src/world_entities/weapons/turret.cc	(revision 6162)
+++ trunk/src/world_entities/weapons/turret.cc	(revision 6222)
@@ -23,5 +23,4 @@
 
 #include "state.h"
-#include "list.h"
 #include "animation3d.h"
 
