Fixed linux compile issue

This commit is contained in:
Nicholas Estelami 2022-07-31 15:32:08 -04:00
parent 9d12813282
commit 47ad3bdc47
1 changed files with 3 additions and 0 deletions

View File

@ -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);