vloup / sgfork

Automatically exported from code.google.com/p/sgfork
GNU General Public License v2.0
0 stars 1 forks source link

Allow zooming when spectating and during death #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Description:
#ifdef SMOKINGUNS
        if(cg.snap->ps.persistant[PERS_TEAM] >= TEAM_SPECTATOR ||
            cg.snap->ps.stats[STAT_HEALTH] <= 0)
            cg.zoomed = qfalse;
#endif
@CG_CalcFOV()

To be moved to crosshair drawing with preventing of drawing scope?

The thing is used to prevent player from zooming while he is dead or 
spectating.
Both things actually are allowed. During spectate it is like zooming camera 
and during death it is just like focusing.
The only thing is that Zoom crosshair must be prevented during zooming when 
spectate and died.

Original issue reported on code.google.com by igorpana...@gmail.com on 20 Aug 2009 at 5:02