Made Plasma Exp+Freeze do explosions even when directly hitting a tee

Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
This commit is contained in:
GreYFoXGTi 2010-08-29 03:35:14 +02:00
parent 277ce3b77e
commit 3497dd18d7

View file

@ -31,7 +31,7 @@ bool CPlasma::HitCharacter()
return false;
if(m_Freeze)
Hit->Freeze(Server()->TickSpeed()*3);
else
if(!m_Freeze || (m_Freeze && m_Explosive))
GameServer()->CreateExplosion(m_Pos, -1, WEAPON_GRENADE, false);
GameServer()->m_World.DestroyEntity(this);
return true;