Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zero-speed characters animation #542

Merged
merged 1 commit into from Sep 29, 2023

Conversation

Hypexion
Copy link
Contributor

@Hypexion Hypexion commented Sep 8, 2023

#452 tweaked character drawing to improve support for giving weapons to characters with a non-armed base type. However, it turns out this breaks animation for charaters with zero animation speed.

A more robust check has been added to ensure the swordless frame is only used for a character that 1) has a weapon, either through its base type or setting one using _MyWeapon and 2) does not have its weapon active, due to it being turned off or sheathed.

Thread: https://forum.caravelgames.com/viewtopic.php?TopicID=45989

@mrimer mrimer merged commit 66a1ce2 into CaravelGames:tss-5.2-dev Sep 29, 2023
@Hypexion Hypexion deleted the fix-npc-animation branch September 29, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants