Change 'freelook' to user cvar

Moderator: GZDoom Developers

Post Reply
ijon
Posts: 108
Joined: Thu Mar 17, 2016 12:09 pm

Change 'freelook' to user cvar

Post by ijon »

pretty self-explanatory, move freelook from a server cvar to a user cvar, nothing else to it

checking for freelook as a server cvar is not useful in multiplayer, where one player could have freelook on and another could have it off

reason this would be useful is so that my recoil scripts, which check if the player has freelook on before applying vertical recoil, wouldn't potentially break multiplayer
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Change 'freelook' to user cvar

Post by Graf Zahl »

ijon wrote: checking for freelook as a server cvar is not useful in multiplayer, where one player could have freelook on and another could have it off
I think it was for precisely that reason that it *IS* a server CVAR!
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”