mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
When crosshair is present, for simple messages (SCR_DrawCenterString), text doesnt always end with a newline (eg E1 entry in startmap), so move message up one line. Doesnt affect large messages used via SCR_DrawNotifyString(eg Socks Shadow demo).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@926 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
34cf8176d1
commit
aa885d4efa
1 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,8 @@ void SCR_DrawCenterString (void) //actually do the drawing
|
|||
y = 200*0.35; //johnfitz -- 320x200 coordinate system
|
||||
else
|
||||
y = 48;
|
||||
if (crosshair.value)
|
||||
y -= 8;
|
||||
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue