mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: The recent ANIMDEFS extension missed adjusting the call to AddSimpleAnim for ANIMATED-defined animations.
This commit is contained in:
parent
c249157876
commit
9eda15c280
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.
|
// 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