Assertion in MxTransitionManager::StartTransition is beta10-only (#1534)

This fixes an assertion error when:
1. Start the game
2  Skip intro (probably optional)
3. Turn left to the elevator room
4. Enter the elevator
5. Press the (I) button
This commit is contained in:
Anonymous Maarten 2025-05-31 02:33:28 +02:00 committed by GitHub
parent 941bc6ffa9
commit ac971f8c15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,9 @@ MxResult MxTransitionManager::StartTransition(
MxBool p_playMusicInAnim MxBool p_playMusicInAnim
) )
{ {
#ifdef BETA10
assert(m_mode == e_idle); assert(m_mode == e_idle);
#endif
if (m_mode == e_idle) { if (m_mode == e_idle) {
if (!p_playMusicInAnim) { if (!p_playMusicInAnim) {