git-svn-id: https://svn.eduke32.com/eduke32@450 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2007-01-12 05:05:19 +00:00
parent d6aa1e6c85
commit 3205ee4fd1

View file

@ -730,12 +730,11 @@ void OSD_Draw(void)
osdscroll = 0;
else
{
int i = getticks(), j;
int j;
if ((osdrowscur < osdrows && osdscroll == 1) || osdrowscur < -1)
{
j = (i-osdscrtime);
j = (getticks()-osdscrtime);
while (j > -1)
{
osdrowscur++;
@ -746,7 +745,7 @@ void OSD_Draw(void)
}
if ((osdrowscur > -1 && osdscroll == -1) || osdrowscur > osdrows)
{
j = (i-osdscrtime);
j = (getticks()-osdscrtime);
while (j > -1)
{
osdrowscur--;