diff options
Diffstat (limited to 'src/r_draw.c')
-rw-r--r-- | src/r_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r_draw.c b/src/r_draw.c index 6813ea59..30e27715 100644 --- a/src/r_draw.c +++ b/src/r_draw.c @@ -777,7 +777,7 @@ R_InitBuffer // Handle resize, // e.g. smaller view windows // with border and/or status bar. - viewwindowx = (SCREENWIDTH-width) >> 1; + viewwindowx = (SCREENWIDTH-width) / 2; // Column offset. For windows. for (i=0 ; i<width ; i++) @@ -787,7 +787,7 @@ R_InitBuffer if (width == SCREENWIDTH) viewwindowy = 0; else - viewwindowy = (SCREENHEIGHT-SBARHEIGHT-height) >> 1; + viewwindowy = (SCREENHEIGHT-SBARHEIGHT-height) / 2; // Preclaculate all row offsets. for (i=0 ; i<height ; i++) |