change css key overlay a bit

This commit is contained in:
rtldg 2021-07-23 09:27:54 +00:00
parent ec3e4d2d84
commit 5a4acc49a4

View File

@ -1678,9 +1678,9 @@ void UpdateCenterKeys(int client)
}
char sCenterText[80];
FormatEx(sCenterText, sizeof(sCenterText), " %s  %s\n%s  %s  %s\n%s  %s  %s\n %s  %s",
FormatEx(sCenterText, sizeof(sCenterText), " %s  %s\n%s %s %s\n%s  %s  %s\n %s  %s",
(buttons & IN_JUMP) > 0? "":"", (buttons & IN_DUCK) > 0? "":"",
(fAngleDiff > 0) ? "":" ", (buttons & IN_FORWARD) > 0 ? "":"", (fAngleDiff < 0) ? "":" ",
(fAngleDiff > 0) ? "<":" ", (buttons & IN_FORWARD) > 0 ? "":" ", (fAngleDiff < 0) ? ">":"",
(buttons & IN_MOVELEFT) > 0? "":"", (buttons & IN_BACK) > 0? "":"", (buttons & IN_MOVERIGHT) > 0? "":"",
(buttons & IN_LEFT) > 0? "":" ", (buttons & IN_RIGHT) > 0? "":" ");