mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
print rather than crash in what should be an impossible situation
This commit is contained in:
parent
fbd4677a9a
commit
d077c9f1de
1 changed files with 5 additions and 2 deletions
|
@ -44,11 +44,14 @@ void AvatarActionFarGrab::deserialize(QByteArray serializedArguments) {
|
|||
|
||||
EntityDynamicType type;
|
||||
dataStream >> type;
|
||||
assert(type == getType());
|
||||
|
||||
QUuid id;
|
||||
dataStream >> id;
|
||||
assert(id == getID());
|
||||
|
||||
if (type != getType() || id != getID()) {
|
||||
qDebug() << "AvatarActionFarGrab::deserialize type or ID don't match." << type << id << getID();
|
||||
return;
|
||||
}
|
||||
|
||||
uint16_t serializationVersion;
|
||||
dataStream >> serializationVersion;
|
||||
|
|
Loading…
Reference in a new issue