From: FruitieX <rasse@rasse-laptop.(none)>
Date: Thu, 21 Oct 2010 20:35:27 +0000 (+0300)
Subject: set mod_active = 1 from the domination mod panel
X-Git-Tag: xonotic-v0.5.0~348^2~6^2~2^2~3
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a5e312f10db45ca50ce28c7cbc3bedaac5b2d75f;p=xonotic%2Fxonotic-data.pk3dir.git

set mod_active = 1 from the domination mod panel
---

diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc
index c8e9b91eb..23405fef6 100644
--- a/qcsrc/client/hud.qc
+++ b/qcsrc/client/hud.qc
@@ -4409,6 +4409,7 @@ void DrawDomItem(vector myPos, vector mySize, float aspect_ratio, float i)
 
 void HUD_Mod_Dom(vector myPos, vector mySize)
 {
+	mod_active = 1; // required in each mod function that always shows something
 	entity tm;
 	float teams_count;
 	for(tm = teams.sort_next; tm; tm = tm.sort_next)