Prevent spindashes when player moves right on level finish

This commit is contained in:
Lucas S. Vieira 2025-01-02 01:39:21 -03:00
parent c780ae1e9f
commit aa21d61f19
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,8 @@
data_preparer = "PSN00BSDK ${PSN00BSDK_VERSION}"
copyright = "COPYLEFT" />
<!-- <license file="${PROJECT_SOURCE_DIR}/LCNSFILE/LICENSEA.DAT" /> -->
<!-- <license file="${PROJECT_SOURCE_DIR}/LCNSFILE/LICENSEE.DAT" /> -->
<!-- <license file="${PROJECT_SOURCE_DIR}/LCNSFILE/LICENSEJ.DAT" /> -->
<directory_tree>
<file name="SYSTEM.CNF" type="data" source="${PROJECT_SOURCE_DIR}/system.cnf" />
<file name="ENGINE.EXE" type="data" source="engine.exe" />

View file

@ -251,6 +251,7 @@ _goal_sign_update(ObjectState *state, ObjectTableEntry *, VECTOR *pos)
// Set animation according to character
state->timer = 360; // 6-seconds music
state->anim_state.animation = 2;
player.action = ACTION_NONE;
screen_level_setmode(LEVEL_MODE_FINISHED);
_goal_sign_change_score();
}