don't forget to send the initial clock tick

This commit is contained in:
Alexandre Ratchov 2011-06-03 20:14:07 +02:00
parent f945cd7996
commit 1b055c6da6
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@ sio_aucat_runmsg(struct sio_aucat_hdl *hdl)
DPRINTF("aucat: pos = %d, maxwrite = %d\n",
delta, hdl->maxwrite);
hdl->delta = delta;
if (hdl->delta >= 0) {
sio_onmove_cb(&hdl->sio, hdl->delta);
hdl->delta = 0;
}
break;
case AMSG_MOVE:
delta = ntohl(hdl->aucat.rmsg.u.ts.delta);