mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-27 12:29:53 +01:00
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
@ -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…
Reference in New Issue
Block a user