Fixed preprocessor issues with signed bytes and floats, close #967

This commit is contained in:
Dylan K. Taylor
2017-06-02 12:50:48 +01:00
parent 3ac51e1095
commit e4e4ef5f2a
6 changed files with 56 additions and 47 deletions

View File

@ -337,9 +337,9 @@ abstract class DataPacket extends BinaryStream{
* @param float $z
*/
public function getVector3f(&$x, &$y, &$z){
$x = $this->getLFloat(4);
$y = $this->getLFloat(4);
$z = $this->getLFloat(4);
$x = $this->getRoundedLFloat(4);
$y = $this->getRoundedLFloat(4);
$z = $this->getRoundedLFloat(4);
}
/**