Showing the changes to libraries/physics/src/ObjectActionSpring.cpp (1 of 1 file). Show all
Unified · Split
| @@ -175,7 +175,7 @@ QByteArray ObjectActionSpring::serialize() const { · 174 unmodified lines | ||
| 175 | 175 | QByteArray serializedActionArguments; |
| 176 | 176 | QDataStream dataStream(&serializedActionArguments, QIODevice::WriteOnly); |
| 177 | 177 | |
| 178 | − dataStream << getType(); | |
| 178 | + dataStream << ACTION_TYPE_SPRING; | |
| 179 | 179 | dataStream << getID(); |
| 180 | 180 | dataStream << ObjectActionSpring::springVersion; |
| 181 | 181 | |
| @@ -195,7 +195,7 @@ void ObjectActionSpring::deserialize(QByteArray serializedArguments) { · 13 unmodified lines | ||
| 195 | 195 | |
| 196 | 196 | EntityActionType type; |
| 197 | 197 | dataStream >> type; |
| 198 | − assert(type == getType()); | |
| 198 | + assert(type == ACTION_TYPE_SPRING); | |
| 199 | 199 | |
| 200 | 200 | QUuid id; |
| 201 | 201 | dataStream >> id; |