mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-07 15:31:11 +00:00
- fix bad asserts.
This commit is contained in:
parent
0dc670da8e
commit
f6ae967c52
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ void StopInterpolation(int index, int type)
|
||||||
|
|
||||||
void StartInterpolation(DCoreActor* actor, 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++)
|
for (unsigned i = 0; i < interpolations.Size(); i++)
|
||||||
{
|
{
|
||||||
if (interpolations[i].actor == actor && interpolations[i].type == type)
|
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)
|
void StopInterpolation(DCoreActor* actor, int type)
|
||||||
{
|
{
|
||||||
assert(type = Interp_Sprite_Z);
|
assert(type == Interp_Sprite_Z);
|
||||||
for (unsigned i = 0; i < interpolations.Size(); i++)
|
for (unsigned i = 0; i < interpolations.Size(); i++)
|
||||||
{
|
{
|
||||||
if (interpolations[i].actor == actor && interpolations[i].type == type)
|
if (interpolations[i].actor == actor && interpolations[i].type == type)
|
||||||
|
|
Loading…
Reference in a new issue