mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
5a65ffd470
- the costumes are handled on a stack per Actor - the last costume is considered the current one - currently, the costumes are never removed from from the stack - this causes an issue when Guybrush is using its original costume first, later the monkey robot costume for the final Monkey Kombat and then again the standard costume (the robot costume will remain the last on the stack and cosidered the current one - this causes a problem when attaching the head actor since the robot has different joints than guybrush with the standard costume) - if a new wear chore is set and it uses a different costume than the current one and neither of them is the shadow costume remove the old costume before setting the new one - additionally, this patch makes sure, that all active chores of all costumes on the stack of an actor are stopped