Showing the changes to libraries/physics/src/ObjectActionSpring.cpp (1 of 1 file). Show all
Unified · Split
| @@ -189,7 +189,7 @@ void ObjectActionSpring::deserialize(QByteArray serializedArguments) { · 188 unmodified lines | ||
| 189 | 189 | |
| 190 | 190 | EntityActionType type; |
| 191 | 191 | dataStream >> type; |
| 192 | − assert(type == ACTION_TYPE_SPRING); | |
| 192 | + assert(type == getType()); | |
| 193 | 193 | |
| 194 | 194 | QUuid id; |
| 195 | 195 | dataStream >> id; |