summaryrefslogtreecommitdiff
path: root/src/players.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/players.cpp')
-rw-r--r--src/players.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/players.cpp b/src/players.cpp
index 6301d2881..9cf74ae70 100644
--- a/src/players.cpp
+++ b/src/players.cpp
@@ -60,6 +60,11 @@ uint16 GetDrawStringPlayerColor(PlayerID player)
return (_colour_gradient[_player_colors[player]][4]) | IS_PALETTE_COLOR;
}
+void DrawPlayerIcon(PlayerID p, int x, int y)
+{
+ DrawSprite(SPR_PLAYER_ICON, PLAYER_SPRITE_COLOR(p), x, y);
+}
+
static const SpriteID cheeks_table[4] = {
0x325, 0x326,