More conversion

This commit is contained in:
iikorni
2026-08-29 19:17:46 -05:00
parent 0404d430dc
commit 70e5c02355
72 changed files with 13308 additions and 14309 deletions
+3 -3
View File
@@ -1067,7 +1067,7 @@ void CL_ParseServerMessage(void) {
cl_lightstyle[i].peak = 'a';
for (j = 0; j < cl_lightstyle[i].length; j++) {
total += cl_lightstyle[i].map[j] - 'a';
cl_lightstyle[i].peak = q_max(cl_lightstyle[i].peak, cl_lightstyle[i].map[j]);
cl_lightstyle[i].peak = std::max(cl_lightstyle[i].peak, cl_lightstyle[i].map[j]);
}
cl_lightstyle[i].average = total / cl_lightstyle[i].length + 'a';
} else
@@ -1214,7 +1214,7 @@ void CL_ParseServerMessage(void) {
break;
case svc_sellscreen:
Cmd_ExecuteString("help", src_command);
command::execute_string("help", command::source::command);
break;
//johnfitz -- new svc types
@@ -1223,7 +1223,7 @@ void CL_ParseServerMessage(void) {
break;
case svc_bf:
Cmd_ExecuteString("bf", src_command);
command::execute_string("bf", command::source::command);
break;
case svc_fog: