lua hud disable option for driftgauge
This commit is contained in:
1 parent
f3dfa53f31
commit
56259e3476
3 files changed
+10
-4
No files matched your search
+8
-4
@@ -10523,12 +10523,16 @@ void K_drawKartHUD(void)
|
||||
#ifdef HAVE_BLUA
|
||||
if (LUA_HudEnabled(hud_item) && !freecam)
|
||||
#endif
|
||||
K_drawKartItem();
|
||||
|
||||
|
||||
K_drawKartItem();
|
||||
|
||||
if (cv_driftgauge.value && !modeattacking)
|
||||
{
|
||||
#ifdef HAVE_BLUA
|
||||
if (LUA_HudEnabled(hud_driftgauge))
|
||||
#endif
|
||||
K_drawDriftGauge();
|
||||
|
||||
}
|
||||
|
||||
if (cv_nametag.value)
|
||||
{
|
||||
#ifdef HAVE_BLUA
|
||||
|
||||
@@ -33,6 +33,7 @@ enum hud {
|
||||
hud_speedometer,
|
||||
hud_statdisplay,
|
||||
hud_nametags,
|
||||
hud_driftgauge,
|
||||
hud_freeplay,
|
||||
hud_rankings, // Tab rankings
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ static const char *const hud_disable_options[] = {
|
||||
"speedometer",
|
||||
"statdisplay",
|
||||
"nametags",
|
||||
"driftgauge",
|
||||
"freeplay",
|
||||
"rankings",
|
||||
NULL};
|
||||
|
||||
Reference in new issue
Block a user