More conversion
This commit is contained in:
+3
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user