Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2008, 6:39:56 PM (17 years ago)
Author:
scheusso
Message:

fixed a bug in spaceship ai(segfault when client disconnects && client was target of spaceshipAI)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/SpaceShipAI.cc

    r1755 r1772  
    7373    SpaceShipAI::~SpaceShipAI()
    7474    {
    75         for (ObjectList<SpaceShipAI>::iterator it = ObjectList<SpaceShipAI>::begin(); it; ++it)
    76             it->shipDied(this);
    7775    }
    7876
     
    315313    }
    316314
    317     void SpaceShipAI::shipDied(SpaceShipAI* ship)
     315    void SpaceShipAI::shipDied(SpaceShip* ship)
    318316    {
    319317        if (ship == this->target_)
Note: See TracChangeset for help on using the changeset viewer.