dethrace-labs / dethrace

Reverse engineering the 1997 game "Carmageddon"
https://twitter.com/dethrace_labs
GNU General Public License v3.0
859 stars 44 forks source link

Incorrect headup hole lookup #267

Closed zear closed 1 year ago

zear commented 1 year ago

When searching for the slot to display the headups, Death Race uses the first reported empty position, disregarding that the given headup might be already in use at a further index.

In certain situations, this can lead to two headups of the same type overlayed on top of each other: credit_slot

https://user-images.githubusercontent.com/510643/206857177-cfd0b230-5d8b-41ec-a252-6e2baed4d2a5.mp4

dethrace-labs commented 1 year ago

Nice! I had noticed this myself lately (the problem, not the fix)

madebr commented 1 year ago

Fixed in https://github.com/dethrace-labs/dethrace/pull/268. Thanks!