mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:17:43 +02:00
Fixed typo
This commit is contained in:
parent
198b14310f
commit
9b87e31739
2 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ int Referential::pack(unsigned char* destinationBuffer) const {
|
||||||
int Referential::unpack(const unsigned char* sourceBuffer) {
|
int Referential::unpack(const unsigned char* sourceBuffer) {
|
||||||
const unsigned char* startPosition = sourceBuffer;
|
const unsigned char* startPosition = sourceBuffer;
|
||||||
_type = (Type)*sourceBuffer++;
|
_type = (Type)*sourceBuffer++;
|
||||||
if (_type < 0 || _type >= NUM_TYPE) {
|
if (_type < 0 || _type >= NUM_TYPES) {
|
||||||
_type = UNKNOWN;
|
_type = UNKNOWN;
|
||||||
}
|
}
|
||||||
memcpy(&_version, sourceBuffer, sizeof(_version));
|
memcpy(&_version, sourceBuffer, sizeof(_version));
|
||||||
|
|
|
@ -26,7 +26,7 @@ public:
|
||||||
JOINT,
|
JOINT,
|
||||||
AVATAR,
|
AVATAR,
|
||||||
|
|
||||||
NUM_TYPE
|
NUM_TYPES
|
||||||
};
|
};
|
||||||
|
|
||||||
Referential(const unsigned char*& sourceBuffer, AvatarData* avatar);
|
Referential(const unsigned char*& sourceBuffer, AvatarData* avatar);
|
||||||
|
|
Loading…
Reference in a new issue