]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/minigames/minigame/snake.qc
Shownames: fade when moving to spectate
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / minigames / minigame / snake.qc
index cbb13420fb1573ad76e31e2b7eb6a1057e0fa51c..371df34d38d7c26a6c159160dfe403ce5fef6a81 100644 (file)
@@ -703,7 +703,7 @@ void snake_hud_status(vector pos, vector mySize)
                        if ( e.team > 1 )
                                mypos_y  += player_fontsize_y + (ts_y * (e.team - 1));
                        minigame_drawcolorcodedstring_trunc(mySize_x,mypos,
-                               GetPlayerName(e.minigame_playerslot-1),
+                               entcs_GetName(e.minigame_playerslot-1),
                                player_fontsize, panel_fg_alpha, DRAWFLAG_NORMAL);
 
                        vector tile_color = snake_teamcolor(e.team);
@@ -850,4 +850,4 @@ int snake_client_event(entity minigame, string event, ...)
        return false;
 }
 
-#endif
\ No newline at end of file
+#endif