about summary refs log tree commit diff
path: root/src/game/server/entities/projectile.cpp
diff options
context:
space:
mode:
authorMarius "Teelevision" Neugebauer <marius@teele.eu>2014-05-07 19:02:55 +0200
committerMarius "Teelevision" Neugebauer <marius@teele.eu>2014-05-07 19:02:55 +0200
commit25c71282cf26948001a9d01678f97ccc07ae138e (patch)
treed3dfad81f217e4111ad32f1752def4ba23775289 /src/game/server/entities/projectile.cpp
parentb03f30f8b472aaede4ca4923ab55419890e433c7 (diff)
downloadzcatch-25c71282cf26948001a9d01678f97ccc07ae138e.tar.gz
zcatch-25c71282cf26948001a9d01678f97ccc07ae138e.zip
improved spam protection (now you can kill everyone you have on hook)
Diffstat (limited to 'src/game/server/entities/projectile.cpp')
-rw-r--r--src/game/server/entities/projectile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/entities/projectile.cpp b/src/game/server/entities/projectile.cpp
index d9654a58..3901d50a 100644
--- a/src/game/server/entities/projectile.cpp
+++ b/src/game/server/entities/projectile.cpp
@@ -73,7 +73,7 @@ void CProjectile::Tick()
 			GameServer()->CreateSound(CurPos, m_SoundImpact);
 
 		if(m_Explosive)
-			GameServer()->CreateExplosion(CurPos, m_Owner, m_Weapon, false, m_CharactersNearbyInitialized, m_CharactersNearby);
+			GameServer()->CreateExplosion(CurPos, m_Owner, m_Weapon, false, m_AffectedCharactersInitialized, m_AffectedCharacters);
 
 		else if(TargetChr)
 			TargetChr->TakeDamage(m_Direction * max(0.001f, m_Force), m_Damage, m_Owner, m_Weapon);