mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-08 22:59:54 +03:00
Fix an operator precedence bug in nact_sys3.cpp
This commit is contained in:
@@ -1403,7 +1403,7 @@ void NACT_Sys3::cmd_y()
|
||||
D03 = (crc32_a == CRC32_YAKATA3_FD) ? 16 : 256;
|
||||
break;
|
||||
case 232:
|
||||
if(ags->screen_height != param ? 480 : 400) {
|
||||
if(ags->screen_height != (param ? 480 : 400)) {
|
||||
// TODO: fix
|
||||
// SendMessage(g_hwnd, WM_USER + 2, param ? 480 : 400, 0);
|
||||
ags->screen_height = param ? 480 : 400;
|
||||
|
||||
Reference in New Issue
Block a user