Just a guess since I'm not in front of the code right now, but are you
sure it isn't recursing here? (i.e. Revert() calls your callback until
the stack gets blown)

Jay


> [ Picked text/plain from multipart/alternative ] I've got a
> weird problem here...
>
> void test_Callback_f( ConVar *var, char const *pOldString ) {
>     var->Revert();
> }
> ConVar test( "test", "", 0, "test", test_Callback_f );
>
> The following code makes hl2.exe immediately shutdown (HL2
> has never closed so fast!) when it reverts the convar.
>
> Greetings,
> Robbie
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

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

Reply via email to