- fixed: The recent ANIMDEFS extension missed adjusting the call to AddSimpleAnim for ANIMATED-defined animations.

This commit is contained in:
Christoph Oelckers 2015-03-25 20:33:24 +01:00
parent c249157876
commit 9eda15c280

View file

@ -253,7 +253,8 @@ void FTextureManager::InitAnimated (void)
} }
// Speed is stored as tics, but we want ms so scale accordingly. // Speed is stored as tics, but we want ms so scale accordingly.
AddSimpleAnim (pic1, pic2 - pic1 + 1, animtype, Scale (animspeed, 1000, 35)); FAnimDef *adef = AddSimpleAnim (pic1, pic2 - pic1 + 1, Scale (animspeed, 1000, 35));
if (adef != NULL) adef->AnimType = animtype;
} }
} }
} }