From 3205ee4fd121afa4f70e465910cb667bcadb2659 Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 12 Jan 2007 05:05:19 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@450 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/osd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/polymer/build/src/osd.c b/polymer/build/src/osd.c index 1edfb0ecb..eb9b89496 100644 --- a/polymer/build/src/osd.c +++ b/polymer/build/src/osd.c @@ -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--;