On Thu, Feb 24, 2005 at 08:34:58PM +0200, disq wrote:
>   3. The code seems to crash if i register more than one CVAR, but i'm
>   still investigating that. Code is like this:
>
> static ConVar myp_cvar1("myp_cvar1", "", FCVAR_PLUGIN | FCVAR_PROTECTED, 
> "first cvar");
> static ConVar myp_cvar2("myp_cvar2", 1, FCVAR_PLUGIN | FCVAR_PROTECTED, 
> "second cvar"); //crash here!

You pass an integer to the constructor of the second, it should be a
string, like the first one.

Maarten

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to