TheXTech / TheXTech

The full port of the SMBX engine from VB6 into C++ and SDL2, FreeImage and MixerX
https://wohlsoft.ru/projects/TheXTech/
GNU General Public License v3.0
295 stars 28 forks source link

[Bug] Forced State can clone powerups when switching characters #828

Open Superbloxen opened 2 months ago

Superbloxen commented 2 months ago

Describe the issue

Example using 2 nondescript characters:

When in a hub world/level, collecting a powerup as Character A and pausing during the transition animation (on a frame Character A's state is changed) then switching characters will cause Character B to still be in the transition and also gain the powerup, effectively duplicating them across characters.

(Sorry if this is confusing, it's difficult to describe how to reproduce this bug)

A type of bug

Native bug

Does this issue happens always or randomly?

Always happens

Version

1.3.7-dev

Version Hash

49987b0

Platform

Android

Processor architecture

None

Log file (if presented)

No response

Example Case

No response

Recording

No response

Vanilla Recording

No response

Additional context

No response

ds-sloth commented 3 weeks ago

This should be fixed now. Can you please let me know if the issue is still present in a new development build?