Overlapping messages displayed when trying to enter a vehicle position the player is not qualified for

Issue #412 resolved
Colin Basnett created an issue

Looks like two nearly identical messages are displayed here. Just speculating, but this bug might have existed before but we never noticed because the messages were identical.

Comments (3)

  1. Matt Hands

    Fixed in commit 6d09c80.

    Functions calling DenyEntry() to display a vehicle message were using ROVehicleMessage, while in other places DHVehicleMessage was being used. The slightly different text in the 2 versions caused the overlap.

    Added a new DisplayVehicleMessage() function in the vehicle classes, using the DH message. It's also a bit smarter, requiring less input and adding a bPassController option. And its name is more generic, avoiding situations where DenyEntry() was used to deny exit.

  2. Log in to comment