mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 10:28:57 +02:00
always serialize ACTION_TYPE_SPRING
This commit is contained in:
parent
56f00a526d
commit
294c1ba367
1 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ QByteArray ObjectActionSpring::serialize() const {
|
|||
QByteArray serializedActionArguments;
|
||||
QDataStream dataStream(&serializedActionArguments, QIODevice::WriteOnly);
|
||||
|
||||
dataStream << getType();
|
||||
dataStream << ACTION_TYPE_SPRING;
|
||||
dataStream << getID();
|
||||
dataStream << ObjectActionSpring::springVersion;
|
||||
|
||||
|
@ -195,7 +195,7 @@ void ObjectActionSpring::deserialize(QByteArray serializedArguments) {
|
|||
|
||||
EntityActionType type;
|
||||
dataStream >> type;
|
||||
assert(type == getType());
|
||||
assert(type == ACTION_TYPE_SPRING);
|
||||
|
||||
QUuid id;
|
||||
dataStream >> id;
|
||||
|
|
Loading…
Reference in a new issue