also, netvar->GetForModify() = somevalue; this is all off the top of
my head tho and may be wrong heh

On 5/26/08, Tom Edwards <[EMAIL PROTECTED]> wrote:
> I've been trying to push an EmitSound_t over the wire, but keep running
> into compiler errors about assigning to const that don't appear when I'm
> not using a CNetworkVar.
>
> Is what I'm trying possible, or am I just going to have to handle all of
> the values separately?
>
> Code:
>> CNetworkVar( EmitSound_t,m_Sound );
>> m_Sound->m_nSpeakerEntity = gEntList.FindEntityByName( NULL,
>> m_sSourceEntTargetName )->entindex();
>
> Error:
>> error C3892: 'CNetworkVarBase<Type,Changer>::operator ->' : you cannot
>> assign to a variable that is const
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

-- 
Sent from Gmail for mobile | mobile.google.com

-Tony

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

Reply via email to