Net improvements #759

merged 3 commits into from Jul 31, 2014


None yet

3 participants

willox commented Jul 12, 2014

It makes no sense to force developers to use net.ReadBit and net.WriteBit, as they only lead to complications. This just adds net.ReadBool and net.WriteBool and makes net.WriteType and net.ReadType use them.

ghost commented Jul 14, 2014

Shouldnt net.ReadBool return tobool(net.ReadBit())?

willox commented Jul 14, 2014

Checking equality to 1 works

PotcFdk commented Jul 14, 2014
@robotboy655 robotboy655 merged commit 54621c4 into garrynewman:master Jul 31, 2014
@willox willox deleted the unknown repository branch Aug 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment