Made NetHandler Write functions take a const SourceGameContext

This commit is contained in:
Jordan Cristiano
2015-05-15 02:49:51 -04:00
parent 9a0956e8f2
commit 3d80d17a99
34 changed files with 74 additions and 74 deletions

View File

@ -23,7 +23,7 @@ namespace NetHandlers
return !bitbuf.IsOverflowed();
}
bool SVC_Sounds_BitWrite_Internal(bf_write& bitbuf, SourceGameContext& context, NetMsg::SVC_Sounds* data)
bool SVC_Sounds_BitWrite_Internal(bf_write& bitbuf, const SourceGameContext& context, NetMsg::SVC_Sounds* data)
{
if (data->reliableSound)
{
@ -45,7 +45,7 @@ namespace NetHandlers
return true;
}
bool SVC_Sounds_JsonWrite_Internal(JsonWrite& jsonbuf, SourceGameContext& context, NetMsg::SVC_Sounds* data)
bool SVC_Sounds_JsonWrite_Internal(JsonWrite& jsonbuf, const SourceGameContext& context, NetMsg::SVC_Sounds* data)
{
return true;
}