Don't hide the sniper rifle scope if scoreboard is enabled

The fix also allows to turn on/off the scope during intermission (since
a few years the scope was blocked in intermission, because it was
immediately turned off by scoreboard).
This commit is contained in:
aurhat
2015-02-08 23:05:37 +01:00
parent d7c2c8333a
commit befd22d2e8
2 changed files with 3 additions and 3 deletions
-1
View File
@@ -1595,7 +1595,6 @@ void knife::renderstats() { }
void setscope(bool enable)
{
if(player1->weaponsel->type != GUN_SNIPER) return;
if(intermission) return;
sniperrifle *sr = (sniperrifle *)player1->weaponsel;
sr->setscope(enable);
}