added scope settling time to fix sniper exploit (bug 2325517)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3871 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-12-04 15:26:25 +00:00
parent 42b4af7a60
commit 3ce5f5b897
2 changed files with 27 additions and 7 deletions
+1
View File
@@ -98,6 +98,7 @@ struct subgun : gun
struct sniperrifle : gun
{
bool scoped;
int scoped_since;
sniperrifle(playerent *owner);
void attackfx(const vec &from, const vec &to, int millis);