Update RakLib, possible fix for notifyACK

This commit is contained in:
Shoghi Cervantes
2014-10-30 19:44:05 +01:00
parent 92eb5cb0b8
commit 2424c8a76c
2 changed files with 3 additions and 1 deletions

View File

@ -230,6 +230,8 @@ class RakLibInterface implements ServerInstance, SourceInterface{
$pk->reliability = 2;
if($needACK === true){
$pk->identifierACK = $this->identifiersACK[$identifier]++;
}else{
$pk->identifierACK = null;
}
$this->interface->sendEncapsulated($identifier, $pk, ($needACK === true ? RakLib::FLAG_NEED_ACK : 0) | ($immediate === true ? RakLib::PRIORITY_IMMEDIATE : RakLib::PRIORITY_NORMAL));