]> git.sesse.net Git - cubemap/commit
Replace an assert with a small hack.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 22 Jul 2015 00:12:37 +0000 (02:12 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 22 Jul 2015 00:12:37 +0000 (02:12 +0200)
commitce7802e5d5291c414883efbad93a9d165c03f40c
tree71cabb3c516f6f81a8b93fd4b3e7722a76d9bd5c
parent1dfa45f9af3f885a50d2bef384ea89b0a4cf17c5
Replace an assert with a small hack.

Instead of checking that connect times are monotonic, explicitly make them
so if they're not. This seems safest, in case the monotonic clock goes
backwards a small bit (e.g. when changing CPUs). We don't need it for the
serialized case since we explicitly sort those by time; the assert can stay.
server.cpp