From 4afdf404e2cb100d30cec8a23e9a4c8c95368682 Mon Sep 17 00:00:00 2001 From: RandumKiwi Date: Mon, 22 Nov 2010 21:43:41 +0000 Subject: [PATCH] flowtron made me do this git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5928 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index 18e488d6..861ef141 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -1226,7 +1226,7 @@ bool rifle::selectable() { return weapon::selectable() && !m_noprimary && this = assaultrifle::assaultrifle(playerent *owner) : gun(owner, GUN_ASSAULT) {} -int assaultrifle::dynspread() { return shots > 3 ? 60 : ( info.spread + ( shots > 0 ? ( shots == 1 ? 5 : 15 ) : 0 } +int assaultrifle::dynspread() { return shots > 3 ? 60 : ( info.spread + ( shots > 0 ? ( shots == 1 ? 5 : 15 ) : 0 ) ); } float assaultrifle::dynrecoil() { return info.recoil + (rnd(8)*-0.01f); } bool assaultrifle::selectable() { return weapon::selectable() && !m_noprimary && this == owner->primweap; }