]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/lms/lms.qh
Merge branch 'master' into terencehill/player_sorting
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / lms / lms.qh
index 8a208c58396f97a10b3b059b42198a8e7a57c627..b90f6c6eb1db67dee498426eda422ce4680d14b9 100644 (file)
@@ -2,6 +2,9 @@
 
 #include <common/mapinfo.qh>
 
+#ifdef CSQC
+void HUD_Mod_LMS(vector myPos, vector mySize);
+#endif
 CLASS(LastManStanding, Gametype)
     INIT(LastManStanding)
     {
@@ -17,5 +20,8 @@ CLASS(LastManStanding, Gametype)
         returns(menu, _("Lives:"),           3,   50,  1, "g_lms_lives_override",      string_null,                    string_null);
     }
     ATTRIB(LastManStanding, m_legacydefaults, string, "9 20 0");
+#ifdef CSQC
+    ATTRIB(LastManStanding, m_modicons, void(vector myPos, vector mySize), HUD_Mod_LMS);
+#endif
 ENDCLASS(LastManStanding)
 REGISTER_GAMETYPE(LMS, NEW(LastManStanding));