From c93b7810eab710cd533e2840367891b2168724eb Mon Sep 17 00:00:00 2001
From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Tue, 20 Aug 2002 02:57:12 +0000
Subject: [PATCH] centered Sbar_IntermissionOverlay

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2260 d7cf8633-e32d-0410-b094-e92efae38249
---
 sbar.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sbar.c b/sbar.c
index 510ae646..52bb7da7 100644
--- a/sbar.c
+++ b/sbar.c
@@ -1043,11 +1043,11 @@ void Sbar_IntermissionOverlay (void)
 		return;
 	}
 
-	sbar_x = 0;
-	sbar_y = 0;
+	sbar_x = (vid.conwidth - 320) >> 1;
+	sbar_y = (vid.conheight - 200) >> 1;
 
-	DrawQ_Pic (64, 24, "gfx/complete.lmp", 0, 0, 1, 1, 1, 1, 0);
-	DrawQ_Pic (0, 56, "gfx/inter.lmp", 0, 0, 1, 1, 1, 1, 0);
+	DrawQ_Pic (sbar_x + 64, sbar_y + 24, "gfx/complete.lmp", 0, 0, 1, 1, 1, 1, 0);
+	DrawQ_Pic (sbar_x + 0, sbar_y + 56, "gfx/inter.lmp", 0, 0, 1, 1, 1, 1, 0);
 
 // time
 	dig = cl.completed_time/60;
-- 
2.39.5