]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/hud.qc
Include gmqcc binaries for Windows and Linux
[voretournament/voretournament.git] / data / qcsrc / client / hud.qc
index cd3922623a5dd6e65fe5673709b5255cef49f72c..4f167715f28f6b7b85448f1299b45fc24363e7dd 100644 (file)
@@ -1060,9 +1060,7 @@ void Sbar_PrintStomachboardItem(entity pl, vector position, vector dimensions)
                        pos_x = position_x + dimensions_x * cvar("hud_item_preylist_health_icon_location");\r
                        sz_x = dimensions_x * cvar("hud_item_preylist_health_icon_length");\r
 \r
-                       if(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1))\r
-                               drawcolorcodedstring(pos, textShortenToWidth("self", sz_x, font_sz, stringwidth_colors), font_sz, sbar_alpha_fg, DRAWFLAG_NORMAL);\r
-                       else\r
+                       if not(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1))\r
                        {\r
                                drawpic(pos, Sbar_GetTexture("sb_health"), sz, '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
 \r
@@ -1650,7 +1648,9 @@ void Sbar_DrawScoreboard()
                {\r
                        // a negative number means we are awaiting respawn, time value is still the same\r
                        respawn_time *= -1; // remove mark now that we checked it\r
-                       if(time >= respawn_time) // don't show a negative value while the server is respawning the player (lag)\r
+                       if(getstati(STAT_VORE_EATEN))\r
+                               str = strcat("^1Will respawn after leaving the stomach");\r
+                       else if(time >= respawn_time) // don't show a negative value while the server is respawning the player (lag)\r
                                str = strcat("^1Respawning...");\r
                        else\r
                                str = strcat("^1Respawning in ^3", ftos_decimals(respawn_time - time, 2), "^1 seconds...");\r