flowtron made me do this

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5928 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
RandumKiwi
2010-11-22 21:43:41 +00:00
parent c4be2481b3
commit 4afdf404e2
+1 -1
View File
@@ -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; }