mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
reset the cost of the packet back to 0 so it doesn't keep accumulating
This commit is contained in:
parent
7a128e5f77
commit
ab1be38fd5
1 changed files with 3 additions and 0 deletions
|
@ -324,6 +324,9 @@ void OctreeEditPacketSender::initializePacket(EditPacketBuffer& packetBuffer, Pa
|
|||
packetBuffer._currentSize += sizeof(quint64); // nudge past timestamp
|
||||
|
||||
packetBuffer._currentType = type;
|
||||
|
||||
// reset cost for packet to 0
|
||||
packetBuffer._satoshiCost = 0;
|
||||
}
|
||||
|
||||
bool OctreeEditPacketSender::process() {
|
||||
|
|
Loading…
Reference in a new issue