NGI: Fix Inconsistent character state (bug #9669)

This commit is contained in:
Pragyansh Chaturvedi (r41k0u) 2022-01-13 22:06:22 +05:30 committed by Eugene Sandulenko
parent 3ff4e1c9c4
commit 65b6e897d2

View File

@ -91,7 +91,14 @@ void scene32_initScene(Scene *sc) {
g_nmi->initArcadeKeys("SC_32");
warning("cactus: %d, state: %d", g_nmi->getObjectState(sO_Cactus), g_vars->scene32_cactus->_statics->_staticsId);
if (g_nmi->getObjectState(sO_Cactus) == g_nmi->getObjectEnumState(sO_Cactus, sO_HasGrown)) {
g_nmi->_currentScene = sc;
g_vars->scene32_cactus->changeStatics2(ST_CTS_GROWUP);
g_vars->scene32_cactus->_priority = 22;
g_nmi->_currentScene = oldsc;
}
}
void scene32_setupMusic() {