fixed reloading while scoping
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1806 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -926,7 +926,7 @@ void sniperrifle::attackfx(vec &from, vec &to, int millis)
|
||||
bool sniperrifle::reload()
|
||||
{
|
||||
bool r = weapon::reload();
|
||||
if(owner==player1 && r) setscope(false);
|
||||
if(owner==player1 && r) scoped = false;
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user