IBBoard / bbreplay

A small Python library to parse Blood Bowl 1 replay files
GNU General Public License v3.0
1 stars 0 forks source link

Fix "double bounce" handling #8

Closed IBBoard closed 3 years ago

IBBoard commented 3 years ago

b6ace5a slightly changed the way we handle bounces. There's code in the ball movement function that skips some ghost bounces (ones from a replay that seemed to be ignored and only the second one applies). However, in Replay_2020-09-13_10-11-03.db the fireball triggers a NE bounce (onto a now prone player) then a S bounce, but the replay ignores this and only applies the S bounce.

IBBoard commented 3 years ago

Replay_2020-09-13_10-11-03.db is now fixed, but this may have broken a different replay where I originally thought I saw the ignored bounce.

IBBoard commented 3 years ago

Replay_2021-04-04_09-49-09.db breaks with the new handling. Log entry batch 40 has two bounces in but the game only applies the second.