about summary refs log tree commit diff
path: root/src/game/client/components/items.cpp
diff options
context:
space:
mode:
authoroy <tom_adams@web.de>2012-01-03 15:40:30 -0800
committeroy <tom_adams@web.de>2012-01-03 15:40:30 -0800
commit7328098f8d03e65975ec82162d2049f46fed223d (patch)
tree1c42d719df3971a3a8558a6a1a30c68b4b6f574e /src/game/client/components/items.cpp
parentc975390195eed17c615bbebfab981a2394dec424 (diff)
parent7393151b6d4cbfd8c4be29145344dcce22aa47d7 (diff)
downloadzcatch-7328098f8d03e65975ec82162d2049f46fed223d.tar.gz
zcatch-7328098f8d03e65975ec82162d2049f46fed223d.zip
Merge pull request #912 from matricks/threadedflip
Threadedflip
Diffstat (limited to 'src/game/client/components/items.cpp')
-rw-r--r--src/game/client/components/items.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/client/components/items.cpp b/src/game/client/components/items.cpp
index 1c338994..9f787a4b 100644
--- a/src/game/client/components/items.cpp
+++ b/src/game/client/components/items.cpp
@@ -22,7 +22,6 @@ void CItems::OnReset()
 
 void CItems::RenderProjectile(const CNetObj_Projectile *pCurrent, int ItemID)
 {
-
 	// get positions
 	float Curvature = 0;
 	float Speed = 0;
@@ -64,7 +63,6 @@ void CItems::RenderProjectile(const CNetObj_Projectile *pCurrent, int ItemID)
 	if(pCurrent->m_Type == WEAPON_GRENADE)
 	{
 		m_pClient->m_pEffects->SmokeTrail(Pos, Vel*-1);
-		m_pClient->m_pFlow->Add(Pos, Vel*1000*Client()->FrameTime(), 10.0f);
 
 		if(Client()->State() == IClient::STATE_DEMOPLAYBACK)
 		{
@@ -85,7 +83,6 @@ void CItems::RenderProjectile(const CNetObj_Projectile *pCurrent, int ItemID)
 	else
 	{
 		m_pClient->m_pEffects->BulletTrail(Pos);
-		m_pClient->m_pFlow->Add(Pos, Vel*1000*Client()->FrameTime(), 10.0f);
 
 		if(length(Vel) > 0.00001f)
 			Graphics()->QuadsSetRotation(GetAngle(Vel));