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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user