mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
use constant for 'V' header
This commit is contained in:
parent
7c180c800f
commit
78e8751a79
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
//
|
||||
//
|
||||
|
||||
#include "PacketHeaders.h"
|
||||
#include "VoxelAgentData.h"
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
|
@ -23,7 +24,7 @@ void VoxelAgentData::init() {
|
|||
}
|
||||
|
||||
void VoxelAgentData::resetVoxelPacket() {
|
||||
_voxelPacket[0] = 'V';
|
||||
_voxelPacket[0] = PACKET_HEADER_VOXEL_DATA;
|
||||
_voxelPacketAt = &_voxelPacket[1];
|
||||
_voxelPacketAvailableBytes = MAX_VOXEL_PACKET_SIZE-1;
|
||||
_voxelPacketWaiting = false;
|
||||
|
|
Loading…
Reference in a new issue