Skip to content

Commit

Permalink
- fix bad asserts.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Apr 29, 2022
1 parent 0dc670d commit f6ae967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/core/interpolate.cpp
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit f6ae967

Please sign in to comment.