CaravelGames / drod

The official public repository of Deadly Rooms of Death and DROD RPG
http://caravelgames.com
56 stars 17 forks source link

Fix zero-speed characters animation #542

Closed Hypexion closed 1 year ago

Hypexion commented 1 year ago

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