From f6ae967c524cb2e233fcf7517cfe7d45855ea04e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 29 Apr 2022 08:40:00 +0200 Subject: [PATCH] - fix bad asserts. --- source/core/interpolate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/core/interpolate.cpp b/source/core/interpolate.cpp index 2b06978b7dd..6b7dba8cd07 100644 --- a/source/core/interpolate.cpp +++ b/source/core/interpolate.cpp @@ -113,7 +113,7 @@ void StopInterpolation(int index, int type) void StartInterpolation(DCoreActor* actor, int type) { - assert(type = Interp_Sprite_Z); + assert(type == Interp_Sprite_Z); for (unsigned i = 0; i < interpolations.Size(); i++) { if (interpolations[i].actor == actor && interpolations[i].type == type) @@ -129,7 +129,7 @@ void StartInterpolation(DCoreActor* actor, int type) void StopInterpolation(DCoreActor* actor, int type) { - assert(type = Interp_Sprite_Z); + assert(type == Interp_Sprite_Z); for (unsigned i = 0; i < interpolations.Size(); i++) { if (interpolations[i].actor == actor && interpolations[i].type == type)