Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6389 in orxonox.OLD for branches/network/src/story_entities


Ignore:
Timestamp:
Jan 2, 2006, 11:36:44 PM (19 years ago)
Author:
patrick
Message:

network: removed segfault in the cleanup function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/campaign.cc

    r6387 r6389  
    173173  while( !this->storyEntities.empty())
    174174  {
    175     StoryEntity* bo = this->storyEntities.front();
     175    StoryEntity* bo = this->storyEntities.back();
     176    this->storyEntities.pop_back();
    176177    PRINTF(0)("CampaignData is been deleted: nr %i\n", bo->getStoryID());
    177178    delete bo;
Note: See TracChangeset for help on using the changeset viewer.