i know that i somehow broke replays again and i don't know if this helps

This commit is contained in:
Andrei "Akari" Alexeyev 2017-03-07 01:57:14 +02:00
parent 1b7df4cbc7
commit 771f4e1414
2 changed files with 4 additions and 1 deletions

View file

@ -387,6 +387,9 @@ void player_applymovement(Player *plr) {
}
void player_input_workaround(Player *plr) {
if(global.dialog)
return;
for(KeyIndex key = KEYIDX_FIRST; key <= KEYIDX_LAST; ++key) {
int flag = key_to_inflag(key);

View file

@ -330,8 +330,8 @@ void stage_input(void) {
replay_stage_event(global.replay_stage, global.frames, EV_RELEASE, KEY_SKIP);
}
player_applymovement(&global.plr);
player_input_workaround(&global.plr);
player_applymovement(&global.plr);
}
void draw_hud(void) {