Try m_iHealth.Get(). It is just pure dumb luck that it works on windows
(it happens to work because msdev puts the int value of the
CNetworkVar() at the very start of the class, Linux has its type
information there instead).

- Alfred

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent:
Wednesday, August 03, 2005 11:43 AM To: [email protected]
Subject: [hlcoders] Linux srcds crashes with DevMsg and CNetworkVars

> There seems to be a problem with the linux srcds, that isn't in the
> windows srcds.
>
> For example:
> DevMsg("Health: %d\n", m_iHealth);
>
> This will work on all windows servers with no problems. But will
> crash a linux server every single time with a "segementation" fault.
>
>
> Is there currently a workaround, has anyone else encountered this
> problem before?
>
> _______________________________________________
> 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