mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- fixed: The recent ANIMDEFS extension missed adjusting the call to AddSimpleAnim for ANIMATED-defined animations.
This commit is contained in:
parent
890fb39d25
commit
d1a972ff3d
1 changed files with 2 additions and 1 deletions
|
@ -253,7 +253,8 @@ void FTextureManager::InitAnimated (void)
|
|||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue