s/WriteDeltaLongCounter/WriteDeltaIntCounter/

to match the argument type.
This commit is contained in:
dhewg 2012-06-28 13:30:44 +02:00
parent 9034da11d0
commit c51f59cb15
3 changed files with 9 additions and 9 deletions

View file

@ -192,7 +192,7 @@ idAsyncNetwork::WriteUserCmdDelta
*/
void idAsyncNetwork::WriteUserCmdDelta( idBitMsg &msg, const usercmd_t &cmd, const usercmd_t *base ) {
if ( base ) {
msg.WriteDeltaLongCounter( base->gameTime, cmd.gameTime );
msg.WriteDeltaIntCounter( base->gameTime, cmd.gameTime );
msg.WriteDeltaByte( base->buttons, cmd.buttons );
msg.WriteDeltaShort( base->mx, cmd.mx );
msg.WriteDeltaShort( base->my, cmd.my );