engine: server: fix writing message size for engine messages, as it's expected to be 2-bytes
This commit is contained in:
parent
85895c5311
commit
f0a856d9c8
1 changed files with 1 additions and 1 deletions
|
@ -2673,7 +2673,7 @@ void GAME_EXPORT pfnMessageEnd( void )
|
|||
return;
|
||||
}
|
||||
|
||||
sv.multicast.pData[svgame.msg_size_index] = svgame.msg_realsize;
|
||||
*(word *)&sv.multicast.pData[svgame.msg_size_index] = svgame.msg_realsize;
|
||||
}
|
||||
}
|
||||
else if( svgame.msg[svgame.msg_index].size != -1 )
|
||||
|
|
Loading…
Add table
Reference in a new issue