From 1184dc33223639c8f20dfead77b0e6411bc651f7 Mon Sep 17 00:00:00 2001 From: rodri Date: Mon, 11 Nov 2024 12:04:56 +0000 Subject: bts: proper board names when watching a match. --- bts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bts.c') diff --git a/bts.c b/bts.c index 1641f61..61b78f9 100644 --- a/bts.c +++ b/bts.c @@ -388,10 +388,10 @@ drawinfo(Image *dst) p = Pt(SCRW/2 - stringwidth(font, s)/2, 0); string(dst, p, pal[PCWhite], ZP, font, s); - s = "TARGET"; + s = gamestate == Watching? "PLAYER 1": "TARGET"; p = subpt(alienboard.bbox.min, Pt(font->width+2+Borderwidth,0)); vstring(dst, p, pal[PCWhite], ZP, font, s); - s = "LOCAL"; + s = gamestate == Watching? "PLAYER 2": "LOCAL"; p = Pt(localboard.bbox.max.x+2+Borderwidth, localboard.bbox.min.y); vstring(dst, p, pal[PCWhite], ZP, font, s); -- cgit v1.2.3