team-eternity / eternity

The Eternity Engine
http://eternity.youfailit.net/wiki/Main_Page
GNU General Public License v3.0
236 stars 37 forks source link

Reset ANIMDEFS animations on level reload #615

Closed sink666 closed 8 months ago

sink666 commented 8 months ago

Animations defined with ANIMDEFS up until now have been desynced from the level, simply starting whereever they left off between level loads. This is a compatability issue which is at the root of #576 . With a little function that I added to P_SetupLevel, the problem is solved.

Altazimuth commented 8 months ago

Thanks for the PR! Looks good.