Changeset 1591 for code/branches/core3/src/orxonox/objects/SpaceShipAI.cc
- Timestamp:
- Jun 12, 2008, 2:00:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/orxonox/objects/SpaceShipAI.cc
r1566 r1591 72 72 SpaceShipAI::~SpaceShipAI() 73 73 { 74 for ( Iterator<SpaceShipAI>it = ObjectList<SpaceShipAI>::begin(); it; ++it)74 for (ObjectList<SpaceShipAI>::iterator it = ObjectList<SpaceShipAI>::begin(); it; ++it) 75 75 it->shipDied(this); 76 76 } … … 111 111 { 112 112 int i = 0; 113 for ( Iterator<SpaceShipAI>it = ObjectList<SpaceShipAI>::begin(); it; )113 for (ObjectList<SpaceShipAI>::iterator it = ObjectList<SpaceShipAI>::begin(); it; ) 114 114 { 115 115 (it++)->kill(); … … 259 259 this->forgetTarget(); 260 260 261 for ( Iterator<SpaceShip>it = ObjectList<SpaceShip>::begin(); it; ++it)261 for (ObjectList<SpaceShip>::iterator it = ObjectList<SpaceShip>::begin(); it; ++it) 262 262 { 263 263 if (it->getTeamNr() != this->getTeamNr())
Note: See TracChangeset
for help on using the changeset viewer.