From: Javier Sancho Date: Wed, 21 Feb 2018 15:39:37 +0000 (+0100) Subject: Pass killeveryone maps when friends are alive X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=a99778b1da1ea16a6a87a00461cd2c4e36ab13a3;p=lugaru.git Pass killeveryone maps when friends are alive --- diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index c627e51..dbd6f0e 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -4654,7 +4654,7 @@ void Game::TickOnceAfter() } alldead = true; for (unsigned i = 1; i < Person::players.size(); i++) { - if (!Person::players[i]->dead && Person::players[i]->howactive < typedead1) { + if (!Person::players[i]->dead && Person::players[i]->howactive < typedead1 && !Person::players[i]->isPlayerFriend()) { alldead = false; break; }