Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix turrets in vehicles displaying color tags in output #35557

Merged
merged 1 commit into from
Nov 16, 2019

Conversation

BevapDin
Copy link
Contributor

SUMMARY: None

When manually firing a turret of a vehicle, the firing window shows a list of available turrets ("Turrets in range: 1"), followed by the list of those turrets. The turret names are names of items, which may contain the item status symbols ("||" or "."), which in turn contain color tags.

The original code displayed the color tags as normal text. This fixes it to actually use the color tags to colorize the text.

When manually firing a turret of a vehicle, the firing window shows a list of available turrets ("Turrets in range: 1"), followed by the list of those turrets. The turret names are names of items, which may contain the item status symbols ("||" or "\."), which in turn contain color tags.

The original code displayed the color tags as normal text. This fixes it to actually use the color tags to colorize the text.
@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. labels Nov 16, 2019
@ZhilkinSerg ZhilkinSerg merged commit 1889d65 into CleverRaven:master Nov 16, 2019
@BevapDin BevapDin deleted the gaq branch November 16, 2019 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants