mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-09-01 02:41:54 +02:00
relax overzealous assert in setCurrentAnim
This commit is contained in:
2
vendor/librw/src/anim.cpp
vendored
2
vendor/librw/src/anim.cpp
vendored
@@ -221,7 +221,7 @@ AnimInterpolator::setCurrentAnim(Animation *anim)
|
||||
{
|
||||
int32 i;
|
||||
AnimInterpolatorInfo *interpInfo = anim->interpInfo;
|
||||
assert(this->currentAnim == nil);
|
||||
assert(this->currentAnim == nil || this->currentAnim == anim);
|
||||
this->currentAnim = anim;
|
||||
this->currentTime = 0.0f;
|
||||
int32 maxkf = this->maxInterpKeyFrameSize;
|
||||
|
Reference in New Issue
Block a user