From 848e5bcebf2a1a925c1a53b3e4a49fc43baed69c Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Sun, 12 Jul 2015 13:43:21 -0700 Subject: [PATCH] this code can be called for hold actions if they end up in an svo save. revert a line from a previous commit --- libraries/physics/src/ObjectActionSpring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/physics/src/ObjectActionSpring.cpp b/libraries/physics/src/ObjectActionSpring.cpp index dde47f7c4e..196cc8d3ea 100644 --- a/libraries/physics/src/ObjectActionSpring.cpp +++ b/libraries/physics/src/ObjectActionSpring.cpp @@ -189,7 +189,7 @@ void ObjectActionSpring::deserialize(QByteArray serializedArguments) { EntityActionType type; dataStream >> type; - assert(type == ACTION_TYPE_SPRING); + assert(type == getType()); QUuid id; dataStream >> id;