Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2008, 6:39:56 PM (16 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/SpaceShip.cc

    r1767 r1772  
    5353#include "ParticleProjectile.h"
    5454#include "GraphicsEngine.h"
     55#include "SpaceShipAI.h"
    5556
    5657namespace orxonox
     
    145146    SpaceShip::~SpaceShip()
    146147    {
     148        for (ObjectList<SpaceShipAI>::iterator it = ObjectList<SpaceShipAI>::begin(); it; ++it)
     149            it->shipDied(this);
     150     
    147151        if (this->isInitialized())
    148152        {
Note: See TracChangeset for help on using the changeset viewer.