core/PlayerManager.cpp
changeset 1363 225fe47043bd
parent 1358 b7329d08cd95
child 1369 bd9ccced1b1a
     1.1 --- a/core/PlayerManager.cpp	Tue Aug 21 16:20:28 2007 +0000
     1.2 +++ b/core/PlayerManager.cpp	Tue Aug 21 16:26:15 2007 +0000
     1.3 @@ -599,6 +599,11 @@
     1.4  	cell_t res;
     1.5  	int client = engine->IndexOfEdict(pEntity);
     1.6  
     1.7 +	if (!m_Players[client].IsConnected())
     1.8 +	{
     1.9 +		return;
    1.10 +	}
    1.11 +
    1.12  	m_clinfochanged->PushCell(engine->IndexOfEdict(pEntity));
    1.13  	m_clinfochanged->Execute(&res, NULL);
    1.14