(svn r7156) -Codechange: Remove obsolete variable, localize global variable, use GB and change logic

of the win32: TAB speeds up, but ALT+TAB doesn't code.
This commit is contained in:
Darkvater
2006-11-15 19:49:16 +00:00
parent 7ba7bd0a49
commit 3328ceea9e
3 changed files with 12 additions and 19 deletions

View File

@@ -423,7 +423,6 @@ static void SdlVideoMainLoop(void)
uint32 next_tick = SDL_CALL SDL_GetTicks() + 30;
uint32 cur_ticks;
uint32 pal_tick = 0;
int i;
uint32 mod;
int numkeys;
Uint8 *keys;
@@ -431,7 +430,7 @@ static void SdlVideoMainLoop(void)
for (;;) {
InteractiveRandom(); // randomness
while ((i = PollEvent()) == -1) {}
while (PollEvent() == -1) {}
if (_exit_game) return;
mod = SDL_CALL SDL_GetModState();