Skip to content

TextDraws: Use carcols for default veh preview#1232

Open
markski1 wants to merge 1 commit into
openmultiplayer:masterfrom
markski1:main
Open

TextDraws: Use carcols for default veh preview#1232
markski1 wants to merge 1 commit into
openmultiplayer:masterfrom
markski1:main

Conversation

@markski1
Copy link
Copy Markdown
Contributor

@markski1 markski1 commented Jun 7, 2026

Fixes #1071

Uses Impl:getRandomVehicleColour (as already defined in vehicle_colours.hpp) to auto fill the right colors instead of -1 for tdbase vehs when colors are unset, instead of -1.

This should allow getting the colors from the TD object as the state won't be -1 which would typically defer color choice to the client, unsynced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PlayerTextDrawGetPreviewVehicleColours

1 participant