Permalink
Browse files

Merge branch 'master' of https://github.com/SupSuper/OpenXcom

  • Loading branch information...
SupSuper committed Nov 20, 2018
2 parents d513887 + ad06884 commit f0be2ee2939d7754e35cf6b802217d45a7974088
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Battlescape/BattlescapeGenerator.cpp
@@ -196,6 +196,9 @@ void BattlescapeGenerator::nextStage()
// send all enemy units, or those not in endpoint area (if aborted) to time out
for (std::vector<BattleUnit*>::iterator i = _save->getUnits()->begin(); i != _save->getUnits()->end(); ++i)
{
(*i)->clearVisibleUnits();
(*i)->clearVisibleTiles();
if ((*i)->getStatus() != STATUS_DEAD // if they're not dead
&& (((*i)->getOriginalFaction() == FACTION_PLAYER // and they're a soldier
&& _save->isAborted() // and you aborted

0 comments on commit f0be2ee

Please sign in to comment.