From cdf3333b178b4b6dd194adfb8981298fbec3973f Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Sat, 2 Sep 2023 16:07:35 +1000 Subject: [PATCH] Minor tweaks --- src/am_map.c | 8 ++++---- src/c_cmds.c | 9 ++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/am_map.c b/src/am_map.c index 2c58d5ea32..48194b1954 100644 --- a/src/am_map.c +++ b/src/am_map.c @@ -2082,19 +2082,19 @@ static void AM_AntiAliasing(void) for (int y = 0; y <= (int)MAPAREA - MAPWIDTH; y += MAPWIDTH) for (int x = y; x <= y + MAPWIDTH - 2; x++) - dest[x] = tinttab30[(dest[x + 1] << 8) + dest[x]]; + dest[x] = tinttab33[(dest[x + 1] << 8) + dest[x]]; for (int y = 0; y <= (int)MAPAREA - MAPWIDTH; y += MAPWIDTH) for (int x = y + MAPWIDTH - 2; x > y; x--) - dest[x] = tinttab30[(dest[x - 1] << 8) + dest[x]]; + dest[x] = tinttab33[(dest[x - 1] << 8) + dest[x]]; for (int y = 0; y <= (int)MAPAREA - MAPWIDTH * 2; y += MAPWIDTH) for (int x = y; x <= y + MAPWIDTH - 1; x++) - dest[x] = tinttab30[(dest[x + MAPWIDTH] << 8) + dest[x]]; + dest[x] = tinttab33[(dest[x + MAPWIDTH] << 8) + dest[x]]; for (int y = MAPAREA - MAPWIDTH; y >= MAPWIDTH; y -= MAPWIDTH) for (int x = y; x <= y + MAPWIDTH - 1; x++) - dest[x] = tinttab30[(dest[x - MAPWIDTH] << 8) + dest[x]]; + dest[x] = tinttab33[(dest[x - MAPWIDTH] << 8) + dest[x]]; memcpy(mapscreen, dest, MAPAREA); } diff --git a/src/c_cmds.c b/src/c_cmds.c index e407ad368d..8429c88ab8 100644 --- a/src/c_cmds.c +++ b/src/c_cmds.c @@ -1840,9 +1840,11 @@ void bind_cmd_func2(char *cmd, char *parms) if (!nobindoutput) { if (strlen(controls[i].control) == 1) - C_Output(BOLD("\"%s\"") " was bound to the " BOLD("'%s'") " key.", parm2, controls[i].control); + C_Output(BOLD("\"%s\"") " was bound to the " BOLD("'%s'") " key.", + parm2, controls[i].control); else - C_Output(BOLD("\"%s\"") " was bound to the " BOLD("%s") " key.", parm2, controls[i].control); + C_Output(BOLD("\"%s\"") " was bound to the " BOLD("%s") " key.", + parm2, controls[i].control); } } else if (controls[i].type == mousecontrol) @@ -1852,7 +1854,8 @@ void bind_cmd_func2(char *cmd, char *parms) M_SaveCVARs(); if (!nobindoutput) - C_Output(BOLD("\"%s\"") " was bound to the " BOLD("%s") " control.", parm2, controls[i].control); + C_Output(BOLD("\"%s\"") " was bound to the " BOLD("%s") " control.", + parm2, controls[i].control); } } }