-
-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing (or rather, not loading) editor sprite actions (#2590)
Right now, some badguys in the editor show the wrong sprite action (mostly for Direction::AUTO, but fish with "swim" actions for all directions). There was also a bug that the editor checked m_dir instead of m_start_dir for the badguys with Direction::AUTO. (m_dir is the current direction when the level is running, m_start_dir is the direction saved in the .stl level file that the enemy starts in). Some would show facing in the wrong direction, some would show the wrong sprite action (eg. woken up sleeping spiky instead of sleeping, burning toads, etc.) This fixes that.
- Loading branch information
Showing
3 changed files
with
36 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters