diff options
author | truelight <truelight@openttd.org> | 2007-03-06 20:59:52 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-03-06 20:59:52 +0000 |
commit | b3b14ac2ad46bf0d5455b54b5828f67676cae8d3 (patch) | |
tree | 589dd69d82d0ad95f4e1c72216940e55d6208cf8 /src/video | |
parent | 62c107558f4215cd6018e44a2c228a8bbc4174b3 (diff) | |
download | openttd-b3b14ac2ad46bf0d5455b54b5828f67676cae8d3.tar.xz |
(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
a symbol called _pause (and therefor our variable conflicts with
thatone. We shouldn't be using _ as global indicator.....)
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/sdl_v.cpp | 2 | ||||
-rw-r--r-- | src/video/win32_v.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp index 628ffaf63..2fc625d17 100644 --- a/src/video/sdl_v.cpp +++ b/src/video/sdl_v.cpp @@ -452,7 +452,7 @@ static void SdlVideoMainLoop(void) } cur_ticks = SDL_CALL SDL_GetTicks(); - if (cur_ticks >= next_tick || (_fast_forward && !_pause) || cur_ticks < prev_cur_ticks) { + if (cur_ticks >= next_tick || (_fast_forward && !_pause_game) || cur_ticks < prev_cur_ticks) { next_tick = cur_ticks + 30; _ctrl_pressed = !!(mod & KMOD_CTRL); diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index b23d57ac5..4f8cfec8b 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -835,7 +835,7 @@ static void Win32GdiMainLoop(void) } cur_ticks = GetTickCount(); - if (cur_ticks >= next_tick || (_fast_forward && !_pause) || cur_ticks < prev_cur_ticks) { + if (cur_ticks >= next_tick || (_fast_forward && !_pause_game) || cur_ticks < prev_cur_ticks) { next_tick = cur_ticks + 30; _ctrl_pressed = _wnd.has_focus && GetAsyncKeyState(VK_CONTROL)<0; _shift_pressed = _wnd.has_focus && GetAsyncKeyState(VK_SHIFT)<0; |