From: DeaDDooMER Date: Tue, 4 Apr 2017 19:23:32 +0000 (+0300) Subject: Испавлено возрождение при нажатии кнопки X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=9648667f6005a60d828b18661a565a64eb5713da;p=netwar.git Испавлено возрождение при нажатии кнопки --- diff --git a/server.c b/server.c index e28b302..e60ac26 100644 --- a/server.c +++ b/server.c @@ -75,9 +75,12 @@ static void sv_move_player(int id, ProtocolMessage m) { assert(id >= 0); assert(client[id].connected); - if(!g_player[id].live) + if(!g_player[id].live && m.cl.does.code.bits) sv_spawn_player(id); + if(!g_player[id].live) + return; + g_player_does(id, m.cl.does.code); }