From 47ad3bdc47d47052fe8358a67c769cce3f5935ac Mon Sep 17 00:00:00 2001 From: Nicholas Estelami Date: Sun, 31 Jul 2022 15:32:08 -0400 Subject: [PATCH] Fixed linux compile issue --- libultraship/libultraship/GameOverlay.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libultraship/libultraship/GameOverlay.cpp b/libultraship/libultraship/GameOverlay.cpp index ab6dfb33c..ccbdc142c 100644 --- a/libultraship/libultraship/GameOverlay.cpp +++ b/libultraship/libultraship/GameOverlay.cpp @@ -171,6 +171,9 @@ void Ship::GameOverlay::Draw() { case CVarType::String: this->TextDraw(30, textY, true, color, "%s %s", text, var->value.valueStr); break; + case CVarType::RGBA: + this->TextDraw(30, textY, true, color, "#%08X", text, var->value.valueRGBA); + break; } free((void*) text);