mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 16:40:40 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@450 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d6aa1e6c85
commit
3205ee4fd1
1 changed files with 3 additions and 4 deletions
|
@ -730,12 +730,11 @@ void OSD_Draw(void)
|
||||||
osdscroll = 0;
|
osdscroll = 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
int j;
|
||||||
int i = getticks(), j;
|
|
||||||
|
|
||||||
if ((osdrowscur < osdrows && osdscroll == 1) || osdrowscur < -1)
|
if ((osdrowscur < osdrows && osdscroll == 1) || osdrowscur < -1)
|
||||||
{
|
{
|
||||||
j = (i-osdscrtime);
|
j = (getticks()-osdscrtime);
|
||||||
while (j > -1)
|
while (j > -1)
|
||||||
{
|
{
|
||||||
osdrowscur++;
|
osdrowscur++;
|
||||||
|
@ -746,7 +745,7 @@ void OSD_Draw(void)
|
||||||
}
|
}
|
||||||
if ((osdrowscur > -1 && osdscroll == -1) || osdrowscur > osdrows)
|
if ((osdrowscur > -1 && osdscroll == -1) || osdrowscur > osdrows)
|
||||||
{
|
{
|
||||||
j = (i-osdscrtime);
|
j = (getticks()-osdscrtime);
|
||||||
while (j > -1)
|
while (j > -1)
|
||||||
{
|
{
|
||||||
osdrowscur--;
|
osdrowscur--;
|
||||||
|
|
Loading…
Reference in a new issue