Quote:
Originally Posted by Greyscale
Code:
cvarflags |= ~FCVAR_NOTIFY; // To be honest, I'm not sure if this is right, can someone verify? I suck with bitwise operations.
|
It should be:
Code:
cvarflags &= ~FCVAR_NOTIFY;
If you want to turn something on, use an OR mask (|=).
If you want to turn something off, use an AND mask (&=).