Skip to content
Permalink
Browse files

Restless spirits

  • Loading branch information...
SupSuper committed May 16, 2019
1 parent 724ecbe commit 9259620e1fbe77ceca864f1bea52588848f280a8
Showing with 6 additions and 4 deletions.
  1. +3 −2 src/Geoscape/GeoscapeState.cpp
  2. +3 −2 src/Savegame/Production.cpp
@@ -815,8 +815,9 @@ void GeoscapeState::time5Seconds()
}
}
}
j = (*i)->removeCraft(*j, false);
delete *j;
Craft *craft = *j;
j = (*i)->removeCraft(craft, false);
delete craft;
continue;
}
if ((*j)->getDestination() != 0)
@@ -196,8 +196,9 @@ void Production::startItem(Base * b, SavedGame * g, const Mod *m) const
{
if ((*c)->getRules()->getType() == iter->first)
{
b->removeCraft(*c, true);
delete *c;
Craft *craft = *c;
b->removeCraft(craft, true);
delete craft;
break;
}
}

0 comments on commit 9259620

Please sign in to comment.
You can’t perform that action at this time.