i know that i somehow broke replays again and i don't know if this helps
This commit is contained in:
parent
1b7df4cbc7
commit
771f4e1414
2 changed files with 4 additions and 1 deletions
|
@ -387,6 +387,9 @@ void player_applymovement(Player *plr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void player_input_workaround(Player *plr) {
|
void player_input_workaround(Player *plr) {
|
||||||
|
if(global.dialog)
|
||||||
|
return;
|
||||||
|
|
||||||
for(KeyIndex key = KEYIDX_FIRST; key <= KEYIDX_LAST; ++key) {
|
for(KeyIndex key = KEYIDX_FIRST; key <= KEYIDX_LAST; ++key) {
|
||||||
int flag = key_to_inflag(key);
|
int flag = key_to_inflag(key);
|
||||||
|
|
||||||
|
|
|
@ -330,8 +330,8 @@ void stage_input(void) {
|
||||||
replay_stage_event(global.replay_stage, global.frames, EV_RELEASE, KEY_SKIP);
|
replay_stage_event(global.replay_stage, global.frames, EV_RELEASE, KEY_SKIP);
|
||||||
}
|
}
|
||||||
|
|
||||||
player_applymovement(&global.plr);
|
|
||||||
player_input_workaround(&global.plr);
|
player_input_workaround(&global.plr);
|
||||||
|
player_applymovement(&global.plr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw_hud(void) {
|
void draw_hud(void) {
|
||||||
|
|
Loading…
Reference in a new issue