mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +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) {
|
||||
const unsigned char* startPosition = sourceBuffer;
|
||||
_type = (Type)*sourceBuffer++;
|
||||
if (_type < 0 || _type >= NUM_TYPE) {
|
||||
if (_type < 0 || _type >= NUM_TYPES) {
|
||||
_type = UNKNOWN;
|
||||
}
|
||||
memcpy(&_version, sourceBuffer, sizeof(_version));
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
JOINT,
|
||||
AVATAR,
|
||||
|
||||
NUM_TYPE
|
||||
NUM_TYPES
|
||||
};
|
||||
|
||||
Referential(const unsigned char*& sourceBuffer, AvatarData* avatar);
|
||||
|
|
Loading…
Reference in a new issue