Replace magic number 352 with VIEWPORT_HEIGHT (#1232)
This commit is contained in:
parent
bac8701ad7
commit
896933f55e
13 changed files with 30 additions and 28 deletions
|
|
@ -931,7 +931,7 @@ void T_DrawGame(int x, int y)
|
|||
int i, sx, sy, chunks, blocks;
|
||||
|
||||
scr_pix_width = 640;
|
||||
scr_pix_height = 352;
|
||||
scr_pix_height = VIEWPORT_HEIGHT;
|
||||
dword_5C2FF8 = 10;
|
||||
dword_5C2FFC = 11;
|
||||
|
||||
|
|
@ -1280,7 +1280,7 @@ void SetTownMicros()
|
|||
|
||||
if (zoomflag) {
|
||||
scr_pix_width = 640;
|
||||
scr_pix_height = 352;
|
||||
scr_pix_height = VIEWPORT_HEIGHT;
|
||||
dword_5C2FF8 = 10;
|
||||
dword_5C2FFC = 11;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue